Skip to content

Commit 3ab64ce

Browse files
committed
Set SupportsReferenceArrayCopy for x86 with OffHeap
1 parent cccf21d commit 3ab64ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

runtime/compiler/x/codegen/J9CodeGenerator.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ J9::X86::CodeGenerator::initialize()
7373

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

76-
if (!TR::Compiler->om.canGenerateArraylets() && !TR::Compiler->om.isOffHeapAllocationEnabled())
77-
{
76+
if (!TR::Compiler->om.canGenerateArraylets())
7877
cg->setSupportsReferenceArrayCopy();
78+
79+
if (!TR::Compiler->om.canGenerateArraylets() && !TR::Compiler->om.isOffHeapAllocationEnabled())
7980
cg->setSupportsInlineStringLatin1Inflate();
80-
}
8181

8282
if (comp->requiresSpineChecks())
8383
{

0 commit comments

Comments
 (0)