Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
17726:085b304a1cc5 | 17727:cfd4aac53239 |
---|---|
814 gc_policy->initialize_all(); | 814 gc_policy->initialize_all(); |
815 | 815 |
816 Universe::_collectedHeap = new GenCollectedHeap(gc_policy); | 816 Universe::_collectedHeap = new GenCollectedHeap(gc_policy); |
817 } | 817 } |
818 | 818 |
819 ThreadLocalAllocBuffer::set_max_size(Universe::heap()->max_tlab_size()); | |
820 | |
819 jint status = Universe::heap()->initialize(); | 821 jint status = Universe::heap()->initialize(); |
820 if (status != JNI_OK) { | 822 if (status != JNI_OK) { |
821 return status; | 823 return status; |
822 } | 824 } |
823 | 825 |