--- old/src/hotspot/share/gc/shared/collectedHeap.hpp 2018-05-13 17:59:38.850283358 +0200 +++ new/src/hotspot/share/gc/shared/collectedHeap.hpp 2018-05-13 17:59:38.705285879 +0200 @@ -174,7 +174,7 @@ static inline void fill_with_array(HeapWord* start, size_t words, bool zap = true); // Fill with a single object (either an int array or a java.lang.Object). - static inline void fill_with_object_impl(HeapWord* start, size_t words, bool zap = true); + virtual void fill_with_object_impl(HeapWord* start, size_t words, bool zap = true); virtual void trace_heap(GCWhen::Type when, const GCTracer* tracer); @@ -201,8 +201,6 @@ virtual Name kind() const = 0; - virtual HeapWord* tlab_post_allocation_setup(HeapWord* obj); - virtual const char* name() const = 0; /** @@ -317,7 +315,7 @@ // The obj and array allocate methods are covers for these methods. // mem_allocate() should never be // called to allocate TLABs, only individual objects. - virtual HeapWord* mem_allocate(size_t size, + virtual HeapWord* mem_allocate(size_t size, Klass* klass, Thread* thread, bool* gc_overhead_limit_was_exceeded) = 0; // Utilities for turning raw memory into filler objects.