[JVMCI] use MethodParameters attribute instead of depending on -g option for sanity checks

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • b146
    • generic
    • generic

      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.

            Assignee:
            Douglas Simon
            Reporter:
            Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: