harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From x..@apache.org
Subject svn commit: r611417 - /harmony/enhanced/drlvm/trunk/vm/gc_gen/src/semi_space/sspace_gen_ss_pool.cpp
Date Sat, 12 Jan 2008 14:12:41 GMT
Author: xli
Date: Sat Jan 12 06:12:40 2008
New Revision: 611417

URL: http://svn.apache.org/viewvc?rev=611417&view=rev
Log:
 a minor bug in generational semispace GC

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

Modified: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/semi_space/sspace_gen_ss_pool.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/gc_gen/src/semi_space/sspace_gen_ss_pool.cpp?rev=611417&r1=611416&r2=611417&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/gc_gen/src/semi_space/sspace_gen_ss_pool.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/gc_gen/src/semi_space/sspace_gen_ss_pool.cpp Sat Jan 12
06:12:40 2008
@@ -290,7 +290,7 @@
   Sspace* sspace = (Sspace*)collector->collect_space;
   unsigned int sspace_first_idx = sspace->first_block_idx;
   tospace_start = (void*)&(sspace->blocks[sspace->tospace_first_idx - sspace_first_idx]);
-  tospace_end = (void*)&(sspace->blocks[sspace->ceiling_block_idx - sspace_first_idx]);
+  tospace_end = (void*)&(sspace->blocks[sspace->ceiling_block_idx - sspace_first_idx
+ 1]);
 
   collector_trace_rootsets(collector);
   



Mime
View raw message