harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From x..@apache.org
Subject svn commit: r570106 - /harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen.cpp
Date Mon, 27 Aug 2007 13:30:00 GMT
Author: xli
Date: Mon Aug 27 06:30:00 2007
New Revision: 570106

URL: http://svn.apache.org/viewvc?rev=570106&view=rev
Log:
fixed a bug that happens when -Xmx specifies a large mem but can't be committed by system.

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?rev=570106&r1=570105&r2=570106&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen.cpp Mon Aug 27 06:30:00 2007
@@ -210,6 +210,9 @@
   gc_gen->blocks = (Block*)reserved_base;
   gc_gen->force_major_collect = FALSE;
   gc_gen->force_gen_mode = FALSE;
+
+  max_heap_size_bytes = max_heap_size;
+  min_heap_size_bytes = min_heap_size;
   
   gc_los_initialize(gc_gen, reserved_base, los_size);
   gc_mos_initialize(gc_gen, (void*)((POINTER_SIZE_INT)reserved_base + los_size), mos_reserve_size,
mos_commit_size);



Mime
View raw message