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

New capability can_generate_early_class_hook_events

    XMLWordPrintable

Details

    • b120

    Description

      Some agents need to get a CFLH event for classes loaded in the primordial phase. This is not possible in JDK 9 because existing agents may instrument code in the primordial or start phase before the module system has completed initialization.

      One way that we could allow this is if we introduce a new capability, say can_generate_early_class_hook_events. If this capability and can_generate_all_class_hook_events are enabled then the CFLH event could be posted in the primordial phase.

      Attachments

        Issue Links

          Activity

            People

              sspitsyn Serguei Spitsyn
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: