Skip to content

Commit

Permalink
Merge pull request #18840 from cjjdespres/loader-data-no-offsets
Browse files Browse the repository at this point in the history
Allow loader data without local offsets
  • Loading branch information
mpirvu authored Jan 30, 2024
2 parents 0892da2 + a2f7da5 commit e28d098
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions runtime/compiler/runtime/JITClientSession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -896,8 +896,7 @@ ClientSessionData::getClassRecord(J9Class *clazz, JITServer::ServerStream *strea
auto recv = stream->read<uintptr_t, std::string>();
uintptr_t offset = std::get<0>(recv);
auto &name = std::get<1>(recv);

if (offset)
if (!name.empty())
{
OMR::CriticalSection cs(getROMMapMonitor());
auto it = getROMClassMap().find((J9Class *)clazz);
Expand Down

0 comments on commit e28d098

Please sign in to comment.