!8567 Fix data race of second ic

Merge pull request !8567 from zhuangkudecha/FixDoubleSlotTrace
This commit is contained in:
openharmony_ci 2024-08-14 00:55:17 +00:00 committed by Gitee
commit d037008cee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1235,8 +1235,7 @@ void PGOProfiler::DumpICByValueWithHandler(ApEntityId abcId, const CString &reco
}
AddObjectInfo(abcId, recordName, methodId, bcOffset, hclass, hclass, transitionHClass);
}
} else {
ASSERT(secondValue.IsPrototypeHandler());
} else if (secondValue.IsPrototypeHandler()) {
PrototypeHandler *prototypeHandler = PrototypeHandler::Cast(secondValue.GetTaggedObject());
auto cellValue = prototypeHandler->GetProtoCell();
if (!cellValue.IsProtoChangeMarker()) {