Skip to content

Commit

Permalink
Merge pull request #20446 from cjjdespres/fix-debug-break
Browse files Browse the repository at this point in the history
Fix incorrectly named variable in debug code
  • Loading branch information
mpirvu authored Oct 30, 2024
2 parents fc6f64c + 56206a8 commit 146d9ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/compiler/env/J9ClassEnv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ J9::ClassEnv::isArrayNullRestricted(TR::Compilation *comp,TR_OpaqueClassBlock *a
uintptr_t classFlags = 0;
JITServerHelpers::getAndCacheRAMClassInfo((J9Class *)arrayClass, TR::compInfoPT->getClientData(), stream, JITServerHelpers::CLASSINFO_CLASS_FLAGS, (void *)&classFlags);
#ifdef DEBUG
stream->write(JITServer::MessageType::ClassEnv_classFlagsValue, clazz);
stream->write(JITServer::MessageType::ClassEnv_classFlagsValue, arrayClass);
uintptr_t classFlagsRemote = std::get<0>(stream->read<uintptr_t>());
// Check that class flags from remote call is equal to the cached ones
classFlags = classFlags & J9ClassArrayIsNullRestricted;
Expand Down

0 comments on commit 146d9ed

Please sign in to comment.