mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8204685: Abstraction for TLAB dummy object
Reviewed-by: tschatzl, shade
This commit is contained in:
parent
74e093f058
commit
cc206eaca5
4 changed files with 9 additions and 3 deletions
|
@ -114,7 +114,7 @@ void ThreadLocalAllocBuffer::make_parsable(bool retire, bool zap) {
|
|||
myThread()->incr_allocated_bytes(used_bytes());
|
||||
}
|
||||
|
||||
CollectedHeap::fill_with_object(top(), hard_end(), retire && zap);
|
||||
Universe::heap()->fill_with_dummy_object(top(), hard_end(), retire && zap);
|
||||
|
||||
if (retire || ZeroTLAB) { // "Reset" the TLAB
|
||||
set_start(NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue