Skip to content

Commit

Permalink
Remove dereferences that crash out-of-process compilations
Browse files Browse the repository at this point in the history
  • Loading branch information
jdmpapin committed Jun 2, 2021
1 parent c086f16 commit 2b66131
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion compiler/optimizer/Inliner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1512,7 +1512,14 @@ TR_InlinerBase::createVirtualGuard(
{
TR::KnownObjectTable *knot = comp()->getOrCreateKnownObjectTable();
if (knot)
heuristicTrace(tracer()," createVirtualGuard: MutableCallSite.epoch is %p.obj%d (%p.%p)", guard->_mutableCallSiteObject, guard->_mutableCallSiteEpoch, *guard->_mutableCallSiteObject, knot->getPointer(guard->_mutableCallSiteEpoch));
{
heuristicTrace(
tracer(),
" createVirtualGuard: MutableCallSite %p epoch is obj%d",
guard->_mutableCallSiteObject,
guard->_mutableCallSiteEpoch);
}

return TR_VirtualGuard::createMutableCallSiteTargetGuard(comp(), calleeIndex, callNode, destination, guard->_mutableCallSiteObject, guard->_mutableCallSiteEpoch);
}

Expand Down

0 comments on commit 2b66131

Please sign in to comment.