Skip to content

Commit

Permalink
Merge pull request #20784 from luke-li-2003/IsChangeCurrentThreadAOT
Browse files Browse the repository at this point in the history
Flag Call to isClassLibraryMethod in isChangeCurrentThread as vettedForAOT
  • Loading branch information
dsouzai authored Dec 31, 2024
2 parents 861668c + 951ba30 commit 775e962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/compiler/env/VMJ9.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4069,7 +4069,7 @@ TR_J9VMBase::isChangesCurrentThread(TR_ResolvedMethod *method)
#if JAVA_SPEC_VERSION >= 21
TR_OpaqueMethodBlock* m = method->getPersistentIdentifier();
// @ChangesCurrentThread should be ignored if used outside the class library
if (isClassLibraryMethod(m))
if (isClassLibraryMethod(m, true))
return jitIsMethodTaggedWithChangesCurrentThread(vmThread(), (J9Method*)m);
#endif /* JAVA_SPEC_VERSION >= 21 */

Expand Down

0 comments on commit 775e962

Please sign in to comment.