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

'iload_w' in shared class is not interpreted correctly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b124

      Description

      When CDS archives classes, it converts all 'iload' bytcodes to 'nofast_iload' without checking if it's wide instruction. 'nofast_iload' does not work with 'wide' instruction. That results incorrect behavior at runtime when the original byte code is 'iload_w'.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jiangli Jiangli Zhou
                Reporter:
                mseledtsov Mikhailo Seledtsov
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: