RFR: 8257231: assert(!is_mcall || (call_returns[block->_pre_order] <= (uint) current_offset))

Patric Hedlin phedlin at openjdk.java.net
Tue Dec 1 11:50:04 UTC 2020


On Tue, 1 Dec 2020 11:43:36 GMT, Patric Hedlin <phedlin at openjdk.org> wrote:

> The assert is executed directly after an emit-function that might have resulted in failure, and prior to the necessary error/failure detection. Moving the assert till after the failure exit solves the issue.

Testing performed on failing test-case: open/test/jdk/java/lang/invoke/PermuteArgsTest.java (using -XX:+StressCodeBuffers)

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

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


More information about the hotspot-compiler-dev mailing list