Skip to content

Commit

Permalink
Ensure relocating fresh AOT is interruptible
Browse files Browse the repository at this point in the history
The existing code does not bind the InterruptibleOperation object to a
name, so it is destroyed immediately after it is created.

Signed-off-by: Christian Despres <[email protected]>
  • Loading branch information
cjjdespres authored and tajila committed Jan 3, 2025
1 parent 1bead2d commit 46890cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/compiler/control/CompilationThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10456,7 +10456,7 @@ TR::CompilationInfo::compilationEnd(J9VMThread * vmThread, TR::IlGeneratorMethod
}
try
{
TR::CompilationInfoPerThreadBase::InterruptibleOperation(*entry->_compInfoPT);
TR::CompilationInfoPerThreadBase::InterruptibleOperation relocatingAOTBody(*entry->_compInfoPT);
// need to get a non-shared cache VM to relocate
TR_J9VMBase *fe = TR_J9VMBase::get(jitConfig, vmThread);
TR_ResolvedMethod *compilee = fe->createResolvedMethod(comp->trMemory(), (TR_OpaqueMethodBlock *)method);
Expand Down

0 comments on commit 46890cb

Please sign in to comment.