On Wed, 20 Dec 2023 08:02:14 GMT, Alan Bateman <al...@openjdk.org> wrote:
>> src/hotspot/share/prims/jvm.cpp line 4024: >> >>> 4022: #else >>> 4023: fatal("Should only be called with JVMTI enabled"); >>> 4024: #endif >> >> You can't do this! The Java code knows nothing about JVM TI being >> enabled/disabled and will call this function unconditionally. > >> You can't do this! The Java code knows nothing about JVM TI being >> enabled/disabled and will call this function unconditionally. > > Indeed. I wonder if anyone is testing minimal builds to catch issues like > this. Good catch, David! Filed a cleanup bug: https://bugs.openjdk.org/browse/JDK-8322538 ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/17011#discussion_r1432548911