Remove SA support for MethodData and the printmdo command

XMLWordPrintable

    • Type: CSR
    • Resolution: Approved
    • Priority: P4
    • 27
    • Component/s: hotspot
    • None
    • behavioral
    • minimal
    • If there is a chance of someone using this feature, it will no longer be provided. They can use a platform debugger instead.
    • Other
    • JDK

      Summary

      Remove the Serviceability Agent printmdo command, which is a sub-command of the clhsdb tool used for displaying MethodData, which is JVM internal compiler information.

      Problem

      The code in the Serviceability Agent for printing this MethodData relies on a copy of internal types in the JVM which can easily become out of date and incorrect, and will be incorrect for the Valhalla preview. This printing is not used by support engineers and developers internally, and has limited usefulness to find bugs. There is replay data that is provided by the JVM that is better. The removal of Serviceability Agent MethodData support will reduce the effort needed to continue to support the Serviceability Agent, especially for the Valhalla preview.

      Solution

      The SA command printmdo and code to copy the internal JVM data is removed, and documentation updated.

      Specification

      @@ -57,7 +57,6 @@ <h3>Annotated output of CLHSDB help command</h3>
         pmap <font color="red">show Solaris pmap-like output</font>
         print expression <font color="red">print given Klass*, Method* or arbitrary address</font>
         printas type expression <font color="red">print given address as given HotSpot type. eg. print JavaThread &lt;address&gt;</font>
      -  printmdo -a | expression <font color="red">print method data oop</font>
         printstatics [ type ] <font color="red">print static fields of given HotSpot type (or all types if none specified)</font>
         pstack [-v] [-l] <font color="red">show mixed mode stack trace for all Java, non-Java threads. -v is verbose mode. -l includes info on owned java.util.concurrent locks.</font>
         quit <font color="red">quit CLHSDB tool</font>
      

            Assignee:
            Coleen Phillimore
            Reporter:
            Coleen Phillimore
            Chris Plummer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: