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

Matias Saavedra Silva matsaave at openjdk.org
Wed Mar 12 19:53:52 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.

LGTM!

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

Marked as reviewed by matsaave (Reviewer).

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


More information about the hotspot-runtime-dev mailing list