Skip to content

Commit

Permalink
Merge pull request #20374 from cjjdespres/fix-log-setting
Browse files Browse the repository at this point in the history
Set log file in TR_Debug at client
  • Loading branch information
mpirvu authored Oct 22, 2024
2 parents b765adc + 2be1c3e commit 2f932d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runtime/compiler/control/JITClientCompilationThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3763,6 +3763,10 @@ remoteCompile(J9VMThread *vmThread, TR::Compilation *compiler, TR_ResolvedMethod
if (compiler->getOption(TR_JITServerFollowRemoteCompileWithLocalCompile) && compilationSequenceNumber)
{
compiler->getOptions()->setLogFileForClientOptions(compilationSequenceNumber);
auto logFile = compiler->getOptions()->getLogFile();
auto debug = compiler->getDebug();
if (logFile && debug)
debug->setFile(logFile);
bool compileWithoutVMAccess = !compiler->getOption(TR_DisableNoVMAccess);
if (compileWithoutVMAccess)
{
Expand Down

0 comments on commit 2f932d5

Please sign in to comment.