[lworld] RFR: 8253047: [lworld] C2 compilation fails with guarantee(sect->end() <= sect->limit()) failed: sanity

Tobias Hartmann thartmann at openjdk.java.net
Fri Sep 11 10:27:48 UTC 2020


We run out of space in C2's scratch buffer when calculating the size of the MachVEPNode because the inline type entry
point requires lots of space for the ZGC barriers when the inline type argument contains many object fields.

The fix is to increase the scratch emit buffer size based on the number of oop fields of scalarized inline type
arguments.

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

Commit messages:
 - 8253047: [lworld] C2 compilation fails with guarantee(sect->end() <= sect->limit()) failed: sanity

Changes: https://git.openjdk.java.net/valhalla/pull/186/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=186&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8253047
  Stats: 116 lines in 4 files changed: 112 ins; 2 del; 2 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/186.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/186/head:pull/186

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



More information about the valhalla-dev mailing list