Integrated: 8260407: cmp != __null && cmp->Opcode() == Op_CmpL failure with -XX:StressLongCountedLoop=200000000 in lucene

Roland Westrelin roland at openjdk.java.net
Thu Jan 28 12:31:10 UTC 2021


On Tue, 26 Jan 2021 15:14:27 GMT, Roland Westrelin <roland at openjdk.org> wrote:

> Long counted loops are transformed in 3 steps:
> 
> 1- LongCountedLoopNode/LongCountedLoopEndNode are created (similar to
> int counted loops)
> 
> 2- a loop nest is built from the
> LongCountedLoopNode/LongCountedLoopEndNode with an inner loop with a
> int iv
> 
> 3- the inner loop is transformed to a CountedLoop
> 
> Between 1- and 2-, the LongCountedLoopEndNode is transformed by split
> if because a dominated if uses the same condition. Fix simplys applies
> existing check for CountedLoopEndNode to LongCountedLoopEndNode.

This pull request has now been integrated.

Changeset: 11d6467c
Author:    Roland Westrelin <roland at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/11d6467c
Stats:     73 lines in 2 files changed: 72 ins; 0 del; 1 mod

8260407: cmp != __null && cmp->Opcode() == Op_CmpL failure with -XX:StressLongCountedLoop=200000000 in lucene

Reviewed-by: thartmann, kvn

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

PR: https://git.openjdk.java.net/jdk/pull/2240


More information about the hotspot-compiler-dev mailing list