Skip to content

Commit

Permalink
Merge pull request #4727 from aviansie-ben/aot-caller-class-loader
Browse files Browse the repository at this point in the history
Disable callerClassLoader optimization under AOT
  • Loading branch information
Irwin D'Souza authored Feb 14, 2019
2 parents 7ce88fd + 001ad85 commit ca17a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/compiler/ilgen/IlGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ bool TR_J9ByteCodeIlGenerator::internalGenIL()
fej9()->stackWalkerMaySkipFrames(caller1->getPersistentIdentifier(),callerClass1));


if (doIt)
if (doIt && !comp()->compileRelocatableCode())
{
if (recognizedMethod == TR::java_lang_ClassLoader_callerClassLoader
)
Expand Down

0 comments on commit ca17a83

Please sign in to comment.