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

ClassLoad and ClassPrepare JVMTI events are missed in the start phase

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b138

      Description

      ClassLoad and ClassPrepare JVMTI events are missed in the start VM phase with and without can_generate_early_vmstart capability.

      Here is a start of the output of simple program which prints received events(with enabled can_generate_early_vmstart capability):

      ----------System.out:(256/19904)----------
        <CLASS_FILE_LOAD>: phase 4: signature: Ljava/util/ArrayList;,
        <CLASS_FILE_LOAD>: phase 4: signature: Ljdk/internal/vm/PostVMInitHook;,
        <CLASS_FILE_PREPARE>: phase 4: signature: Ljdk/internal/vm/PostVMInitHook;,
        <CLASS_FILE_LOAD>: phase 4: signature: Lsun/launcher/LauncherHelper;,
        <CLASS_FILE_PREPARE>: phase 4: signature: Lsun/launcher/LauncherHelper;,
        <CLASS_FILE_LOAD>: phase 4: signature: Ljdk/internal/loader/BuiltinClassLoader$3;,

        Attachments

          Activity

            People

            • Assignee:
              sspitsyn Serguei Spitsyn
              Reporter:
              ddmitriev Dmitry Dmitriev
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: