[lworld] RFR: 8256391: [lworld] C2 compilation fails with assert(EnableValhalla) failed: should only be used for inline types

Tobias Hartmann thartmann at openjdk.java.net
Mon Nov 16 12:56:51 UTC 2020


The assert is too strong, AndLNodes with constant markWord::inline_type_pattern (= 5) input can also be generated without EnableValhalla. Moved the assert and strengthened the checks.

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

Commit messages:
 - 8256391: [lworld] C2 compilation fails with assert(EnableValhalla) failed: should only be used for inline types

Changes: https://git.openjdk.java.net/valhalla/pull/260/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=260&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8256391
  Stats: 7 lines in 1 file changed: 3 ins; 2 del; 2 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/260.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/260/head:pull/260

PR: https://git.openjdk.java.net/valhalla/pull/260


More information about the valhalla-dev mailing list