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

[MVT] Version 52 & 53 classfiles are being generated with MVT bytecodes

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: core-libs
    • Labels:

      Description

      If the verifier is changed to enforce that only version 53.1 is allowed to contain MVT v bytecodes, the following tests fail within the hotspot valhalla test suite.


      Classfile version #52 example:
      runner finished test: runtime/valhalla/valuetypes/verifier/VloadTest.java
      Failed. Execution failed: `main' threw exception: java.lang.IllegalStateException: java.lang.ClassFormatError: vload not supported by this class file version (52.0), class runtime.valhalla.valuetypes.verifier.vloadAnInteger/1683463887 in method runtime.valhalla.valuetypes.verifier.vloadAnInteger/1683463887.vloadAnInteger(I)Ljava/lang/Object;

      Classfile verison #53 example:
      runner finished test: runtime/valhalla/valuetypes/ValueTypeGetField.java
      Failed. Execution failed: `main' threw exception: java.lang.ClassFormatError: vload not supported by this class file version (53.0), class runtime.valhalla.valuetypes.ValueTypeGetField in method runtime.valhalla.valuetypes.ValueTypeGetField.checkPoint(Qruntime/valhalla/valuetypes/Point;II)V

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lfoltan Lois Foltan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: