Skip to content

Commit

Permalink
Merge pull request #21025 from rmnattas/oh-xarrcpy
Browse files Browse the repository at this point in the history
Set SupportsReferenceArrayCopy for x86 with OffHeap
  • Loading branch information
zl-wang authored Feb 4, 2025
2 parents cb8c742 + 3ab64ce commit 56b489c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/compiler/x/codegen/J9CodeGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ J9::X86::CodeGenerator::initialize()

cg->setAheadOfTimeCompile(new (cg->trHeapMemory()) TR::AheadOfTimeCompile(cg));

if (!TR::Compiler->om.canGenerateArraylets() && !TR::Compiler->om.isOffHeapAllocationEnabled())
{
if (!TR::Compiler->om.canGenerateArraylets())
cg->setSupportsReferenceArrayCopy();

if (!TR::Compiler->om.canGenerateArraylets() && !TR::Compiler->om.isOffHeapAllocationEnabled())
cg->setSupportsInlineStringLatin1Inflate();
}

if (comp->requiresSpineChecks())
{
Expand Down

0 comments on commit 56b489c

Please sign in to comment.