Integrated: 8285835: SIGSEGV in PhaseIdealLoop::build_loop_late_post_work

Vladimir Kozlov kvn at openjdk.org
Sat Oct 29 12:36:02 UTC 2022


On Thu, 27 Oct 2022 23:14:11 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> EA does not adjust NSR (not_scalar_replaceable) state for referenced allocations. 
> In the test case object A is NSR because it merges with NULL object. But this state is not propagated to allocations it references. As result other allocations are marked scalar replaceable and related Load node is moved above guarding condition (where A object is checked for NULL).
> EA should propagate NSR state.
> 
> Thanks to @rwestrel who provided reproducer test case.
> 
> Testing tier1-4, xcomp, stress.

This pull request has now been integrated.

Changeset: 8aa1526b
Author:    Vladimir Kozlov <kvn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8aa1526b443025b8606a3668262f46a9cb6ea6f6
Stats:     145 lines in 3 files changed: 135 ins; 0 del; 10 mod

8285835: SIGSEGV in PhaseIdealLoop::build_loop_late_post_work

Reviewed-by: roland, vlivanov

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

PR: https://git.openjdk.org/jdk/pull/10894


More information about the hotspot-compiler-dev mailing list