comparison src/share/vm/gc_implementation/g1/heapRegion.cpp @ 20417:d35872270666

8057658: Enable G1 FullGC extensions Summary: Refactored the G1 FullGC code to enable it to be extended. Reviewed-by: mgerdin, brutisso
author sjohanss
date Tue, 09 Sep 2014 00:05:25 +0200
parents 227a9e5e4b4a
children 5248357b7113
comparison
equal deleted inserted replaced
20416:99f0593d8c9f 20417:d35872270666
345 return low; 345 return low;
346 } 346 }
347 347
348 HeapRegion::HeapRegion(uint hrm_index, 348 HeapRegion::HeapRegion(uint hrm_index,
349 G1BlockOffsetSharedArray* sharedOffsetArray, 349 G1BlockOffsetSharedArray* sharedOffsetArray,
350 MemRegion mr, AllocationContext_t context) : 350 MemRegion mr) :
351 G1OffsetTableContigSpace(sharedOffsetArray, mr), 351 G1OffsetTableContigSpace(sharedOffsetArray, mr),
352 _hrm_index(hrm_index), _allocation_context(context), 352 _hrm_index(hrm_index),
353 _allocation_context(AllocationContext::system()),
353 _humongous_type(NotHumongous), _humongous_start_region(NULL), 354 _humongous_type(NotHumongous), _humongous_start_region(NULL),
354 _in_collection_set(false), 355 _in_collection_set(false),
355 _next_in_special_set(NULL), _orig_end(NULL), 356 _next_in_special_set(NULL), _orig_end(NULL),
356 _claimed(InitialClaimValue), _evacuation_failed(false), 357 _claimed(InitialClaimValue), _evacuation_failed(false),
357 _prev_marked_bytes(0), _next_marked_bytes(0), _gc_efficiency(0.0), 358 _prev_marked_bytes(0), _next_marked_bytes(0), _gc_efficiency(0.0),