Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8316250

scaleability: some events not optimized with should_post_xxx functions

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • None
    • 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.

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

              Created:
              Updated: