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

Vladimir Ivanov vlivanov at openjdk.java.net
Tue Jan 4 10:24:51 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

Vladimir Ivanov has updated the pull request incrementally with one additional commit since the last revision:

  Update copyright

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

Changes:
  - all: https://git.openjdk.java.net/jdk18/pull/76/files
  - new: https://git.openjdk.java.net/jdk18/pull/76/files/59d23d40..addc407f

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk18&pr=76&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk18&pr=76&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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