The implementation of the following JEP 516:
https://bugs.openjdk.org/browse/JDK-8326035
JEP 516: Ahead-of-Time Object Caching with Any GC
introduced AOT thread which is a JavaThread with the flag thread->is_hidden_from_external_view(). It has the following flag set: thread->is_AOT_thread(). We should provide a mechanism to skip JVMTI events on such threads. This can be based on the flag is_hidden_from_external_view() to make the solution more generic.
https://bugs.openjdk.org/browse/JDK-8326035
JEP 516: Ahead-of-Time Object Caching with Any GC
introduced AOT thread which is a JavaThread with the flag thread->is_hidden_from_external_view(). It has the following flag set: thread->is_AOT_thread(). We should provide a mechanism to skip JVMTI events on such threads. This can be based on the flag is_hidden_from_external_view() to make the solution more generic.
- relates to
-
JDK-8370130 The JavaThread flag hide_from_external_view is used inconsistently
-
- New
-