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

During deoptimization vectors should reassign scalarized payload after all objects are reallocated.

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      16
    • Resolved In Build:
      b14

      Description

      Currently during deoptimization Vector's `payload` field values are restored during Vector reallocation:
      https://github.com/openjdk/jdk/blob/master/src/hotspot/share/prims/vectorSupport.cpp#L155
      Bat for scalar-replaced values (objects) this is not correct because that object could be re-allocated after allocation of this vector.

      Scalar-replaced `payload` should be restored during regular fields reassignment.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kvn Vladimir Kozlov
              Reporter:
              kvn Vladimir Kozlov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: