1.1 --- a/src/share/vm/gc_implementation/g1/g1Allocator.hpp Mon Sep 08 14:13:01 2014 +0000 1.2 +++ b/src/share/vm/gc_implementation/g1/g1Allocator.hpp Tue Sep 09 00:05:25 2014 +0200 1.3 @@ -86,6 +86,12 @@ 1.4 void set_used(size_t bytes) { 1.5 _summary_bytes_used = bytes; 1.6 } 1.7 + 1.8 + virtual HeapRegion* new_heap_region(uint hrs_index, 1.9 + G1BlockOffsetSharedArray* sharedOffsetArray, 1.10 + MemRegion mr) { 1.11 + return new HeapRegion(hrs_index, sharedOffsetArray, mr); 1.12 + } 1.13 }; 1.14 1.15 // The default allocator for G1.