Skip to content

Commit 775e962

Browse files
authored
Merge pull request #20784 from luke-li-2003/IsChangeCurrentThreadAOT
Flag Call to isClassLibraryMethod in isChangeCurrentThread as vettedForAOT
2 parents 861668c + 951ba30 commit 775e962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/compiler/env/VMJ9.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4069,7 +4069,7 @@ TR_J9VMBase::isChangesCurrentThread(TR_ResolvedMethod *method)
40694069
#if JAVA_SPEC_VERSION >= 21
40704070
TR_OpaqueMethodBlock* m = method->getPersistentIdentifier();
40714071
// @ChangesCurrentThread should be ignored if used outside the class library
4072-
if (isClassLibraryMethod(m))
4072+
if (isClassLibraryMethod(m, true))
40734073
return jitIsMethodTaggedWithChangesCurrentThread(vmThread(), (J9Method*)m);
40744074
#endif /* JAVA_SPEC_VERSION >= 21 */
40754075

0 commit comments

Comments
 (0)