--- a/src/hotspot/share/gc/g1/g1Allocator.hpp Fri Mar 02 09:20:16 2018 +0100
+++ b/src/hotspot/share/gc/g1/g1Allocator.hpp Fri Mar 02 10:09:01 2018 +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