mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +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
|
@ -816,6 +816,8 @@ jint Universe::initialize_heap() {
|
|||
Universe::_collectedHeap = new GenCollectedHeap(gc_policy);
|
||||
}
|
||||
|
||||
ThreadLocalAllocBuffer::set_max_size(Universe::heap()->max_tlab_size());
|
||||
|
||||
jint status = Universe::heap()->initialize();
|
||||
if (status != JNI_OK) {
|
||||
return status;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue