mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8030177: G1: Enable TLAB resizing
Reviewed-by: tschatzl, stefank, jmasa
This commit is contained in:
parent
81ba2e32c0
commit
9b29efeb63
20 changed files with 141 additions and 74 deletions
|
@ -1084,6 +1084,10 @@ size_t DefNewGeneration::tlab_capacity() const {
|
|||
return eden()->capacity();
|
||||
}
|
||||
|
||||
size_t DefNewGeneration::tlab_used() const {
|
||||
return eden()->used();
|
||||
}
|
||||
|
||||
size_t DefNewGeneration::unsafe_max_tlab_alloc() const {
|
||||
return unsafe_max_alloc_nogc();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue