On Wed, 9 Apr 2025 22:34:47 GMT, Serguei Spitsyn <sspit...@openjdk.org> wrote:
>> src/hotspot/share/prims/jvmtiExport.cpp line 1419: >> >>> 1417: // ClassPrepare events are important for JDWP agent but not >>> expected during such upcalls. >>> 1418: // Catch if this invariant is not broken. >>> 1419: assert(!thread->is_in_java_upcall(), "unexpected ClassPrepare >>> event during JVMTI upcall"); >> >> I think we should do this for ClassLoad also. > > Okay, thanks! Updated now. > Catch if this invariant is not broken I think you mean "Catch if this invariant is broken" ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/24539#discussion_r2036269670