comparison src/share/vm/gc_implementation/g1/heapRegion.hpp @ 12178:84683e78e713

8019902: G1: Use the average heap size rather than the minimum heap size to calculate the region size Reviewed-by: tonyp, tschatzl, sjohanss
author brutisso
date Fri, 30 Aug 2013 07:31:47 +0200
parents 5888334c9c24
children 40136aa2cdb1
comparison
equal deleted inserted replaced
12177:0d59407e7e09 12178:84683e78e713
359 // well as other related fields that are based on the heap region 359 // well as other related fields that are based on the heap region
360 // size (LogOfHRGrainBytes / LogOfHRGrainWords / 360 // size (LogOfHRGrainBytes / LogOfHRGrainWords /
361 // CardsPerRegion). All those fields are considered constant 361 // CardsPerRegion). All those fields are considered constant
362 // throughout the JVM's execution, therefore they should only be set 362 // throughout the JVM's execution, therefore they should only be set
363 // up once during initialization time. 363 // up once during initialization time.
364 static void setup_heap_region_size(uintx min_heap_size); 364 static void setup_heap_region_size(size_t initial_heap_size, size_t max_heap_size);
365 365
366 enum ClaimValues { 366 enum ClaimValues {
367 InitialClaimValue = 0, 367 InitialClaimValue = 0,
368 FinalCountClaimValue = 1, 368 FinalCountClaimValue = 1,
369 NoteEndClaimValue = 2, 369 NoteEndClaimValue = 2,