Skip to content

Commit 2c7020f

Browse files
authored
Merge pull request #24346 from Deigue/z-disable-transform-setmem
Disable transform Unsafe.setMemory by default on Z
2 parents 76c0e60 + 365a8fe commit 2c7020f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

runtime/compiler/z/codegen/J9CodeGenerator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3460,7 +3460,7 @@ bool J9::Z::CodeGenerator::canUseRelativeLongInstructions(int64_t value)
34603460

34613461
bool J9::Z::CodeGenerator::canTransformUnsafeSetMemory()
34623462
{
3463-
static bool enableUnsafeSetMemoryAcceleration = (feGetEnv("TR_DisableUnsafeSetMemoryAcceleration") == NULL);
3463+
static bool enableUnsafeSetMemoryAcceleration = (feGetEnv("TR_EnableUnsafeSetMemoryAcceleration") != NULL);
34643464
return (enableUnsafeSetMemoryAcceleration && self()->comp()->target().is64Bit());
34653465
}
34663466

0 commit comments

Comments
 (0)