Skip to content

Commit

Permalink
Expand default local storage of remote AOT methods
Browse files Browse the repository at this point in the history
Remotely-compiled AOT methods will now be stored in the local SCC by
default if the JITServer AOT cache is not being used. This avoids
failures in certain tests that implicitly assume that such methods will
be stored in the local SCC.

Signed-off-by: Christian Despres <[email protected]>
  • Loading branch information
cjjdespres committed Aug 28, 2023
1 parent fd45fe7 commit a5a5536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/compiler/control/JITClientCompilationThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2969,7 +2969,7 @@ remoteCompilationEnd(J9VMThread *vmThread, TR::Compilation *comp, TR_ResolvedMet
}
#endif /* J9VM_INTERP_AOT_RUNTIME_SUPPORT */

if (shouldStoreRemoteAOTMethods)
if (!compInfo->getPersistentInfo()->getJITServerUseAOTCache() || shouldStoreRemoteAOTMethods)
{
J9ROMMethod *romMethod = comp->fej9()->getROMMethodFromRAMMethod(method);
TR::CompilationInfo::storeAOTInSharedCache(
Expand Down

0 comments on commit a5a5536

Please sign in to comment.