RFR: 8168915: [JVMCI] use MethodParameters attribute instead of depending on -g option for sanity checks
Doug Simon
doug.simon at oracle.com
Fri Oct 28 23:22:10 UTC 2016
In light of discussion[1] about build changes for 8166416 with respect to -g, this patch enables JVMCI to expose parameter info available in the MethodParameters class file attribute[2] (produced by the -parameters javac option) instead of relying on the LocalVariableTable attribute (produced by -g).
I’m assuming the class file expansion caused by -parameters is significantly less than -g although I’m surprised to see that parameter info is missing from the JDK classes as noted in the JBS issue.
https://bugs.openjdk.java.net/browse/JDK-8168915
http://cr.openjdk.java.net/~dnsimon/8168915/
-Doug
[1] http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-October/025051.html
[2] https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.7.24
More information about the hotspot-dev
mailing list