Relates :
|
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.
|