Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8168915

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • 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.

            dnsimon Douglas Simon
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: