8297491: Loom: Stack chunks allocation code uses TLABs even when TLABs are disabled

Reviewed-by: tschatzl, aboldtch, aph
This commit is contained in:
Aleksey Shipilev 2022-11-24 09:00:06 +00:00
parent 5e5b774bfb
commit f4cf7589c0

@ -380,7 +380,7 @@ oop MemAllocator::allocate() const {
oop MemAllocator::try_allocate_in_existing_tlab() {
oop obj = NULL;
{
if (UseTLAB) {
HeapWord* mem = allocate_inside_tlab_fast();
if (mem != NULL) {
obj = initialize(mem);