--- a/hotspot/src/share/vm/gc_implementation/shared/plab.hpp Wed Apr 22 09:39:38 2015 +0200
+++ b/hotspot/src/share/vm/gc_implementation/shared/plab.hpp Wed Apr 22 12:58:10 2015 +0200
@@ -133,7 +133,7 @@
// Flush allocation statistics into the given PLABStats supporting ergonomic
// sizing of PLAB's and retire the current buffer. To be called at the end of
// GC.
- void flush_and_retire_stats(PLABStats* stats);
+ virtual void flush_and_retire_stats(PLABStats* stats);
// Fills in the unallocated portion of the buffer with a garbage object and updates
// statistics. To be called during GC.