RFR: 8351327: -XX:AOTMode=record interferes with application execution

Aleksey Shipilev shade at openjdk.org
Wed Mar 12 17:52:57 UTC 2025


On Wed, 12 Mar 2025 02:32:09 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> Since [JDK-8348426](https://bugs.openjdk.org/browse/JDK-8348426), If `-XX:AOTMode=record` is specified in the command-line, the application's behavior is affected in the following 2 ways:
> 
> 1. The application is not able to launch new Threads.
> 2. The exit code is ignored and becomes zero.
> 
> The fixes are simple and I also added a test case.

Looks reasonable.

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/24003#pullrequestreview-2679386754


More information about the hotspot-runtime-dev mailing list