Mercurial > hg > graal-compiler
diff src/share/vm/memory/universe.cpp @ 17727:cfd4aac53239
8030177: G1: Enable TLAB resizing
Reviewed-by: tschatzl, stefank, jmasa
author | brutisso |
---|---|
date | Mon, 27 Jan 2014 13:14:53 +0100 |
parents | 9d15b81d5d1b |
children | 62c54fcc0a35 |
line wrap: on
line diff
--- a/src/share/vm/memory/universe.cpp Thu Jan 23 12:08:28 2014 +0100 +++ b/src/share/vm/memory/universe.cpp Mon Jan 27 13:14:53 2014 +0100 @@ -816,6 +816,8 @@ 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;