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

Ioi Lam iklam at openjdk.org
Thu Mar 13 05:00:03 UTC 2025


On Wed, 12 Mar 2025 17:50:35 GMT, Aleksey Shipilev <shade 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.

Thanks @shipilev @vnkozlov @matias9927 for the review

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

PR Comment: https://git.openjdk.org/jdk/pull/24003#issuecomment-2719949366


More information about the hotspot-runtime-dev mailing list