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

ClassLoad event occurs after VMDeath event when JFR is enabled

XMLWordPrintable

    • generic
    • generic

      ClassLoad event occurs after VMDeath event when JFR is enabled.
      In this case, JVMTI Agent cannot call JNI and JVMTI function that may only be called during the start or the live phase.
      It does not correspond JVMTI spec:

      VM Initialization Event
      Once this event is generated, the agent is free to call any JNI or JVM TI function.

      VM Death Event
      No events will occur after the VMDeath event.
      Other events are also affected, e.g. MethodEntry.
      We should fix this in JFR 1.0, which is meant for public consumtion.
      Current jfr is off by default and not meant to be used by public yet.
      This should be safe to push to 7u10.

      OK Dev /nloodin
      OK SQE / ctornqvi

            Unassigned Unassigned
            bmoloden Boris Molodenkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: