[jdk18] RFR: 8265317: [vector] assert(payload->is_object()) failed: expected 'object' value for scalar-replaced boxed vector but got: NULL
Vladimir Ivanov
vlivanov at openjdk.java.net
Mon Jan 3 18:18:35 UTC 2022
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
-------------
Commit messages:
- 8265317: [vector] assert(payload->is_object()) failed: expected 'object' value for scalar-replaced boxed vector but got: NULL
Changes: https://git.openjdk.java.net/jdk18/pull/76/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk18&pr=76&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8265317
Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
Patch: https://git.openjdk.java.net/jdk18/pull/76.diff
Fetch: git fetch https://git.openjdk.java.net/jdk18 pull/76/head:pull/76
PR: https://git.openjdk.java.net/jdk18/pull/76
More information about the hotspot-compiler-dev
mailing list