JVMCI compilers make use of method parameter names for various sanity checks. Currently the names are read from the LocalVariableTable class file attribute. However, this attribute is only available if the relevant Java sources were compiled with -g. Instead, JVMCI should expose the names available in the MethodParameters attribute (https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.7.24) which only requires the -parameters javac option instead of the -g option.
[JVMCI] use MethodParameters attribute instead of depending on -g option for sanity checks
-
Douglas Simon
-
Vladimir Kozlov
- Votes:
-
0 Vote for this issue
- Watchers:
-
3 Start watching this issue
- Created:
- Updated:
- Resolved: