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

ClassLoad and ClassPrepare JVMTI events are missed in the start phase

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • None
    • b138

      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;,

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

              Created:
              Updated:
              Resolved: