8306321: Add an accessor for the top of a PLAB
Reviewed-by: shade, ysr
This commit is contained in:
parent
fdb4bafa31
commit
ed34e7f5ae
@ -138,6 +138,10 @@ public:
|
||||
// Fills in the unallocated portion of the buffer with a garbage object and updates
|
||||
// statistics. To be called during GC.
|
||||
void retire();
|
||||
|
||||
HeapWord* top() const {
|
||||
return _top;
|
||||
}
|
||||
};
|
||||
|
||||
// PLAB book-keeping.
|
||||
|
Loading…
x
Reference in New Issue
Block a user