--- old/src/hotspot/share/gc/g1/g1Allocator.hpp 2018-02-26 10:50:24.425892969 +0100 +++ new/src/hotspot/share/gc/g1/g1Allocator.hpp 2018-02-26 10:50:24.105880291 +0100 @@ -67,8 +67,6 @@ G1Allocator(G1CollectedHeap* heap) : _g1h(heap) { } virtual ~G1Allocator() { } - static G1Allocator* create_allocator(G1CollectedHeap* g1h); - #ifdef ASSERT // Do we currently have an active mutator region to allocate into? bool has_mutator_alloc_region(AllocationContext_t context) { return mutator_alloc_region(context)->get() != NULL; } @@ -223,8 +221,6 @@ G1PLABAllocator(G1Allocator* allocator); virtual ~G1PLABAllocator() { } - static G1PLABAllocator* create_allocator(G1Allocator* allocator); - virtual void waste(size_t& wasted, size_t& undo_wasted) = 0; // Allocate word_sz words in dest, either directly into the regions or by