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

JVMTI agents can't be run in a backward compatible way: -Xrun

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 5.0
    • 5.0
    • hotspot
    • None
    • tiger
    • generic
    • generic

      A JVMTI environment can be created in JVM_OnLoad (the entry point when
      using -Xrun) -- however much of JVMTI functionality requires capabilities
      to be set and these can only be set before the VM is initialized (that is,
      in the Agent_OnLoad entry point).

      For example, hprof is launched with:

      -Xrunhprof

      A JVMTI version of hprof cannot be written which is launched with this
      command line.

            rfield Robert Field (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: