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

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

XMLWordPrintable

    • 16
    • b14

      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.

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

              Created:
              Updated:
              Resolved: