RFR: 8347718: Unexpected NullPointerException in C2 compiled code due to ReduceAllocationMerges
Damon Fenacci
dfenacci at openjdk.org
Mon Jan 27 09:27:45 UTC 2025
On Mon, 27 Jan 2025 03:36:24 GMT, Cesar Soares Lucas <cslucas at openjdk.org> wrote:
> Please, review this patch to fix an issue in reducing allocation merges used by Cmp nodes. The attached test case, adapted from the one attached to the JBS issue, can be used to reproduce the issue. The root of the problem was not properly checking the return value of `optimize_ptr_compare` against different Cmp mask predicates.
>
> I tested this on OSX(ARM64) & Linux(Intel) tier1-4.
Thanks for the fix @JohnTortugo.
-------------
PR Review: https://git.openjdk.org/jdk/pull/23312#pullrequestreview-2574906834
More information about the hotspot-compiler-dev
mailing list