harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From x..@apache.org
Subject svn commit: r529238 - /harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/space_tuner.cpp
Date Mon, 16 Apr 2007 13:39:53 GMT
Author: xli
Date: Mon Apr 16 06:39:53 2007
New Revision: 529238

URL: http://svn.apache.org/viewvc?view=rev&rev=529238
Log:
HARMONY-3659: fixed some bugs in Large object space processing and finref implementation.

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

Modified: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/space_tuner.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/space_tuner.cpp?view=diff&rev=529238&r1=529237&r2=529238
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/space_tuner.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/space_tuner.cpp Mon Apr 16 06:39:53
2007
@@ -78,6 +78,8 @@
 /*Check the tuning size, if too small, cancle the tuning.*/
 void check_space_tuner(GC* gc)
 {
+	POINTER_SIZE_INT los_fail_sz_uped = 0;
+	
   Space_Tuner* tuner = gc->tuner;
   if((!tuner->need_tune) && (!tuner->force_tune)){
     assert(tuner->kind == TRANS_NOTHING);
@@ -91,7 +93,7 @@
   }
   if((tuner->need_tune) && (!tuner->force_tune)) goto check_size;
   /*tuner->force_tune must be true here!*/
-  POINTER_SIZE_INT los_fail_sz_uped = lspace_get_failure_size((Lspace*)lspace);
+  los_fail_sz_uped = lspace_get_failure_size((Lspace*)lspace);
   assert(!(los_fail_sz_uped % GC_BLOCK_SIZE_BYTES));
 
   if(tuner->kind == TRANS_FROM_LOS_TO_MOS){



Mime
View raw message