[jdk18] RFR: 8265317: [vector] assert(payload->is_object()) failed: expected 'object' value for scalar-replaced boxed vector but got: NULL

Vladimir Kozlov kvn at openjdk.java.net
Mon Jan 3 21:22:18 UTC 2022


On Mon, 3 Jan 2022 17:36:21 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

> The assertion is too strong. it doesn't take into account the case of a scalar-replaced instance with a constant field (null in this particular case). 
> 
> Proposed fix relaxes the check. 
> 
> Testing: 
>   * failing tests w/ -XX:+DeoptimizeALot
>   * hs-tier2 w/ -XX:+DeoptimizeALot
>   * hs-tier1 - hs-tier5

Good.

Please, update copyright year.

-------------

Marked as reviewed by kvn (Reviewer).

PR: https://git.openjdk.java.net/jdk18/pull/76


More information about the hotspot-compiler-dev mailing list