RFR(S): 8037970: make PrintMethodData a diagnostic options

Roland Westrelin roland.westrelin at oracle.com
Thu Mar 20 16:20:00 UTC 2014

I’d like to make PrintMethodData a diagnostic option. When investigating nashorn performance, I found it useful to have the result of profiling.

This change also:

- changes the format of PrintMethodData to use:


instead of


for method names. Very useful for lambda forms: java.lang.invoke.LambdaForm$BMH/853119666::reinvoke

- dumps data for all methods including lambda forms

In debug builds, the print compiler oracle command can also cause profile data to be dumped for a particular method. In a product build, I restricted it to PrintMethodData only so when don’t iterate over all methods every time the JVM exits.



More information about the hotspot-compiler-dev mailing list