harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From x..@apache.org
Subject svn commit: r530284 - /harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen_adapt.cpp
Date Thu, 19 Apr 2007 06:42:15 GMT
Author: xli
Date: Wed Apr 18 23:42:13 2007
New Revision: 530284

URL: http://svn.apache.org/viewvc?view=rev&rev=530284
Log:
HARMONY-3700 : fix a bug in LOS(large object space) adaptation

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

Modified: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen_adapt.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen_adapt.cpp?view=diff&rev=530284&r1=530283&r2=530284
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen_adapt.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen_adapt.cpp Wed Apr 18 23:42:13 2007
@@ -365,7 +365,8 @@
 
   POINTER_SIZE_INT curr_nos_size = space_committed_size((Space*)fspace);
 
-  if( ABS_DIFF(new_nos_size, curr_nos_size) < NOS_COPY_RESERVE_DELTA )
+  //if( ABS_DIFF(new_nos_size, curr_nos_size) < NOS_COPY_RESERVE_DELTA )
+  if( new_nos_size == curr_nos_size )
     return;
   
   /* below are ajustment */  
@@ -417,7 +418,8 @@
   
   POINTER_SIZE_INT curr_nos_size = space_committed_size((Space*)fspace);
 
-  if( ABS_DIFF(new_nos_size, curr_nos_size) < NOS_COPY_RESERVE_DELTA )
+  //if( ABS_DIFF(new_nos_size, curr_nos_size) < NOS_COPY_RESERVE_DELTA )
+  if( new_nos_size == curr_nos_size) 
     return;
       
   POINTER_SIZE_INT used_mos_size = space_used_memory_size((Blocked_Space*)mspace);  



Mime
View raw message