Skip to content

Commit

Permalink
Remove deprecated shouldAlignTLHAlloc() checks on TR::Nodes
Browse files Browse the repository at this point in the history
No longer set nor used anywhere in OMR or OpenJ9.

Signed-off-by: Daryl Maier <[email protected]>
  • Loading branch information
0xdaryl committed Apr 29, 2024
1 parent 424c196 commit 6f2bb91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion runtime/compiler/p/codegen/J9TreeEvaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
4 changes: 2 additions & 2 deletions runtime/compiler/x/codegen/J9TreeEvaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 6f2bb91

Please sign in to comment.