diff --git a/runtime/compiler/p/codegen/J9TreeEvaluator.cpp b/runtime/compiler/p/codegen/J9TreeEvaluator.cpp index 3fa609b0597..6c687c4e7b5 100644 --- a/runtime/compiler/p/codegen/J9TreeEvaluator.cpp +++ b/runtime/compiler/p/codegen/J9TreeEvaluator.cpp @@ -5579,7 +5579,7 @@ static void genHeapAlloc(TR::Node *node, TR::Instruction *&iCursor, TR_OpaqueCla { static char *disableAlign = feGetEnv("TR_DisableAlignAlloc"); - if (0 && !disableAlign && (node->getOpCodeValue() == TR::New) && (comp->getMethodHotness() >= hot || node->shouldAlignTLHAlloc())) + if (0 && !disableAlign && (node->getOpCodeValue() == TR::New) && (comp->getMethodHotness() >= hot)) { TR_OpaqueMethodBlock *ownMethod = node->getOwningMethod(); diff --git a/runtime/compiler/x/codegen/J9TreeEvaluator.cpp b/runtime/compiler/x/codegen/J9TreeEvaluator.cpp index 906f244bd38..aeb7bbfe9cb 100644 --- a/runtime/compiler/x/codegen/J9TreeEvaluator.cpp +++ b/runtime/compiler/x/codegen/J9TreeEvaluator.cpp @@ -6256,7 +6256,7 @@ static void genHeapAlloc( #if defined(J9VM_GC_THREAD_LOCAL_HEAP) if ((node->getOpCodeValue() == TR::New) && - (comp->getMethodHotness() >= hot || node->shouldAlignTLHAlloc()) && + (comp->getMethodHotness() >= hot) && !disableAllocationAlignment) { TR_OpaqueMethodBlock *ownMethod = node->getOwningMethod(); @@ -6634,7 +6634,7 @@ static void genHeapAlloc2( #if defined(J9VM_GC_THREAD_LOCAL_HEAP) if ((node->getOpCodeValue() == TR::New) && - (comp->getMethodHotness() >= hot || node->shouldAlignTLHAlloc()) && + (comp->getMethodHotness() >= hot) && !disableAllocationAlignment) { TR_OpaqueMethodBlock *ownMethod = node->getOwningMethod();