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

Unexpected behavior when JVMTI GenerateEvents is called

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      A DESCRIPTION OF THE PROBLEM :
      Looking at the diff here : http://hg.openjdk.java.net/jdk7/jdk7/hotspot/rev/65b0c03b165d

      I think, Changing JvmtiExport::post_compiled_method_load(JvmtiEnv* env,..) to JvmtiExport::post_compiled_method_load(nmethod*) version is possibly incorrect since, this would do callbacks to multiple jvmti environments (jvmti agents) and that it is unexpected. Callbacks are expected to be called to current jvmti env which called GenerateEvents.

      FREQUENCY : always


        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fmatte Fairoz Matte
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: