RFR: 8287205: generate_cont_thaw generates dead code after jump to exception handler

Aleksey Shipilev shade at openjdk.java.net
Wed May 25 11:11:55 UTC 2022


On Tue, 24 May 2022 07:33:02 GMT, Richard Reingruber <rrich at openjdk.org> wrote:

> This fix avoids generating unreachable instructions after the jump to the exception handler in `generate_cont_thaw()`
> 
> Testing:
> 
> jtreg:test/hotspot/jtreg:hotspot_loom
> jtreg:test/jdk:jdk_loom
> 
> On linux x86_64 and aarch64.
> 
> On aarch64 the test `jdk/java/lang/management/ThreadMXBean/VirtualThreadDeadlocks.java` had a timeout. The aaarch64 machine I used is very slow. This might have caused the timeout.

Looks fine to me. I missed this while refactoring x86_64 generate_cont_thaw :)

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

Marked as reviewed by shade (Reviewer).

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


More information about the hotspot-compiler-dev mailing list