[jdk16] RFR: 8253353: Crash in C2: guarantee(n != NULL) failed: No Node

Vladimir Ivanov vlivanov at openjdk.java.net
Wed Jan 27 21:17:42 UTC 2021


On Wed, 27 Jan 2021 21:03:43 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> Nesting loops for this case reaches 400+. But the type of IdeaLoopTree::_nest field is uint8 (the maximum value allowed is 255). The test passed with the following fix proposed by @RealFYang:
> 
> - uint8_t _nest; // Nesting depth 
> + uint16_t _nest; // Nesting depth
> 
> New regression test is added.
> Passed hs-tier1 - 3 testing.

Looks good.

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

Marked as reviewed by vlivanov (Reviewer).

PR: https://git.openjdk.java.net/jdk16/pull/135


More information about the hotspot-compiler-dev mailing list