You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by xl...@apache.org on 2007/04/21 16:40:47 UTC

svn commit: r531039 - /harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/mspace_slide_compact.cpp

Author: xli
Date: Sat Apr 21 07:40:46 2007
New Revision: 531039

URL: http://svn.apache.org/viewvc?view=rev&rev=531039
Log:
HARMONY-3700 :  LOS adaptation bug

Modified:
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/mspace_slide_compact.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/mspace_slide_compact.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/mspace_slide_compact.cpp?view=diff&rev=531039&r1=531038&r2=531039
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/mspace_slide_compact.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/mspace_slide_compact.cpp Sat Apr 21 07:40:46 2007
@@ -423,13 +423,14 @@
     lspace_fix_repointed_refs(collector, lspace);
     gc_fix_rootset(collector);
     gc_init_block_for_sliding_compact(gc, mspace);
-    num_fixing_collectors++;
     /*LOS_Shrink: Fixme: This operation moves objects in LOS, and should be part of Pass 4*/
     if(lspace->move_object)  lspace_sliding_compact(collector, lspace);
     mspace_settle_fake_blocks_for_los_shrink(mspace);
     /*Fixme: LOS_Shrink: set dest block for sliding compact*/
     if(gc->tuner->kind == TRANS_FROM_LOS_TO_MOS)
       mspace->block_iterator = (Block_Header*)((POINTER_SIZE_INT)mspace->blocks - (mspace->gc)->tuner->tuning_size);
+
+    num_fixing_collectors++;
   }
   while(num_fixing_collectors != num_active_collectors + 1);