AOT thread should not post JVMTI events

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • 26
    • Affects Version/s: 26
    • Component/s: hotspot
    • None

      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.

            Assignee:
            Serguei Spitsyn
            Reporter:
            Serguei Spitsyn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: