[lworld] Integrated: 8242453: [lworld] C2 compilation fails with assert 'correct memory chain'

Tobias Hartmann thartmann at openjdk.java.net
Tue Aug 4 14:22:45 UTC 2020


On Tue, 4 Aug 2020 12:39:49 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> Relax the assert in MemNode::optimize_memory_chain because loads from a non-flat array can be pushed through an
> arraycopy from a flat array (see LoadNode::can_see_arraycopy_value) and end up with an inconsistent memory input (oop
> load from flat array). The checks emitted for the arraycopy will catch this and the load will be removed but
> optimize_memory_chain() can still be executed before that happens.  Other options to fix this will be evaluated with
> JDK-8251039.

This pull request has now been integrated.

Changeset: 448aaa0a
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/448aaa0a
Stats:     70 lines in 5 files changed: 5 ins; 50 del; 15 mod

8242453: [lworld] C2 compilation fails with assert 'correct memory chain'

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

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


More information about the valhalla-dev mailing list