--- a/src/hotspot/share/gc/shared/collectedHeap.hpp Fri Aug 23 08:48:23 2019 +0200
+++ b/src/hotspot/share/gc/shared/collectedHeap.hpp Fri Aug 23 08:48:27 2019 +0200
@@ -254,9 +254,9 @@
}
GCCause::Cause gc_cause() { return _gc_cause; }
- virtual oop obj_allocate(Klass* klass, int size, TRAPS);
+ oop obj_allocate(Klass* klass, int size, TRAPS);
virtual oop array_allocate(Klass* klass, int size, int length, bool do_zero, TRAPS);
- virtual oop class_allocate(Klass* klass, int size, TRAPS);
+ oop class_allocate(Klass* klass, int size, TRAPS);
// Utilities for turning raw memory into filler objects.
//