Mercurial > hg > graal-jvmci-8
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/heapRegion.cpp Mon Sep 08 14:13:01 2014 +0000 +++ b/src/share/vm/gc_implementation/g1/heapRegion.cpp Tue Sep 09 00:05:25 2014 +0200 @@ -347,9 +347,10 @@ HeapRegion::HeapRegion(uint hrm_index, G1BlockOffsetSharedArray* sharedOffsetArray, - MemRegion mr, AllocationContext_t context) : + MemRegion mr) : G1OffsetTableContigSpace(sharedOffsetArray, mr), - _hrm_index(hrm_index), _allocation_context(context), + _hrm_index(hrm_index), + _allocation_context(AllocationContext::system()), _humongous_type(NotHumongous), _humongous_start_region(NULL), _in_collection_set(false), _next_in_special_set(NULL), _orig_end(NULL),