changeset 53846 | fe95464806a7 |
parent 53411 | aa87f38fcba2 |
child 54843 | 25c329958c70 |
--- a/src/hotspot/share/gc/g1/g1Allocator.hpp Wed Feb 20 08:10:40 2019 -0500 +++ b/src/hotspot/share/gc/g1/g1Allocator.hpp Wed Feb 20 14:30:33 2019 +0100 @@ -155,7 +155,8 @@ public: G1PLABAllocator(G1Allocator* allocator); - void waste(size_t& wasted, size_t& undo_wasted); + size_t waste() const; + size_t undo_waste() const; // Allocate word_sz words in dest, either directly into the regions or by // allocating a new PLAB. Returns the address of the allocated memory, NULL if