- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    16, 17
                    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.
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.
- relates to
- 
                    JDK-8223347 Integration of Vector API (Incubator) -           
- Resolved
 
-         
- 
                    JDK-8265317 [vector] assert(payload->is_object()) failed: expected 'object' value for scalar-replaced boxed vector but got: NULL -           
- Resolved
 
-         
 
        