harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From x..@apache.org
Subject svn commit: r564604 - /harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen.cpp
Date Fri, 10 Aug 2007 14:29:56 GMT
Author: xli
Date: Fri Aug 10 07:29:55 2007
New Revision: 564604

URL: http://svn.apache.org/viewvc?view=rev&rev=564604
Log:
Fixed a minor collection bug that turns off mark-sweep for gen mode.

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

Modified: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen.cpp?view=diff&rev=564604&r1=564603&r2=564604
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen.cpp Fri Aug 10 07:29:55 2007
@@ -453,7 +453,7 @@
     mspace->last_alloced_size = GC_BLOCK_SIZE_BYTES * ( mspace_num_used_blocks_after_minor
- mspace_num_used_blocks_before_minor );
 
     /*If the current minor collection failed, i.e. there happens a fallback, we should not
do the minor sweep of LOS*/
-    if(gc->collect_result != FALSE)
+    if(gc->collect_result != FALSE && !gc_is_gen_mode())
       lspace_collection(gc->los);
 
     gc->mos->move_object = 1;      



Mime
View raw message