From 2b66131395d9830ee1f10f5bc5146ae49164eeb6 Mon Sep 17 00:00:00 2001 From: Devin Papineau Date: Tue, 1 Jun 2021 13:50:50 -0400 Subject: [PATCH] Remove dereferences that crash out-of-process compilations --- compiler/optimizer/Inliner.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/compiler/optimizer/Inliner.cpp b/compiler/optimizer/Inliner.cpp index 8f7cc17f53f..96f6be6152c 100644 --- a/compiler/optimizer/Inliner.cpp +++ b/compiler/optimizer/Inliner.cpp @@ -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); }