[strongtalk] r180 committed - Fix GC problem with arguments to entry frame

0 views
Skip to first unread message

codesite...@google.com

unread,
Nov 15, 2009, 8:53:08 PM11/15/09
to strongta...@googlegroups.com
Revision: 180
Author: StephenLRees
Date: Sun Nov 15 17:52:47 2009
Log: Fix GC problem with arguments to entry frame
http://code.google.com/p/strongtalk/source/detail?r=180

Modified:
/branches/gcc-linux/vm/runtime/frame.cpp

=======================================
--- /branches/gcc-linux/vm/runtime/frame.cpp Sat Nov 1 12:10:49 2008
+++ /branches/gcc-linux/vm/runtime/frame.cpp Sun Nov 15 17:52:47 2009
@@ -421,9 +421,14 @@
}

if (is_entry_frame()) {
- for (oop* p = sp(); p < (oop*)fp(); p++) {
+ //for (oop* p = sp(); p < (oop*)fp(); p++) {
// %hack
// MarkSweep::follow_root(p);
+ //}
+ // Should be the following to match oop_iterate() (used by scavenge)
slr - 11/09
+ // %TODO how to test?
+ for (oop* p = sp(); p < (oop*)fp() - 4; p++) {
+ MarkSweep::follow_root(p);
}
return;
}

Reply all
Reply to author
Forward
0 new messages