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

'iload_w' in shared class is not interpreted correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • b124

      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'.

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

              Created:
              Updated:
              Resolved: