scaleability: some events not optimized with should_post_xxx functions

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • 27
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • 22

      The fix of:
        8312174 missing JVMTI events from vthreads parked during JVMTI attach
      enabled a mechanism to conditionally create a JvmtiThreadState with a call to function java_thread->get_jvmti_thread_state() lazily at the point when a JVMTI event is posted. It caused some event posting code to create JvmtiThreadState's even though the events have not been enabled. Using preliminary should_post_xxx function calls will fix this issue.
      One example is vmtiExport::post_exception_throw(). Need to check if there are more such events.

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

              Created:
              Updated: