8210753: Make ThreadLocalAllocBuffer::resize() public

Reviewed-by: eosterlund, jcbeyler
This commit is contained in:
Per Lidén 2018-09-18 22:46:35 +02:00
parent a3931a76f6
commit 4aa926a9eb
3 changed files with 9 additions and 19 deletions

View file

@ -138,14 +138,6 @@ void ThreadLocalAllocBuffer::make_parsable(bool retire, bool zap) {
"TLAB must be reset");
}
void ThreadLocalAllocBuffer::resize_all_tlabs() {
if (ResizeTLAB) {
for (JavaThreadIteratorWithHandle jtiwh; JavaThread *thread = jtiwh.next(); ) {
thread->tlab().resize();
}
}
}
void ThreadLocalAllocBuffer::resize() {
// Compute the next tlab size using expected allocation amount
assert(ResizeTLAB, "Should not call this otherwise");