RFR: 8365512: Replace -Xcomp with -Xmixed for AOT assembly phase

Aleksey Shipilev shade at openjdk.org
Thu Aug 14 13:43:13 UTC 2025


On Thu, 14 Aug 2025 13:36:54 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> Thank you @shipilev for looking on this.
>> 
>>> with blocking compilation requests.
>> 
>> AOT compilation requests are not blocking. We submit bunch of requests for the same compilation level and only then wait when  queues are empty.
>> 
>> With -Xcomp we wait each compilation request. 
>> 
>> So I want to use "with non-blocking compilation requests. ". There rest of suggested comment is fine.
>
> Ah yes, right, d'uh. I wrote some of that code! Let me rewrite the comment...

// AOT assembly phase submits the non-blocking compilation requests 
        // for methods collected during training run, then waits for all compilations
        // to complete. With -Xcomp, we block for each compilation request, which is
        // counter-productive. Switching back to mixed mode improves testing time
        // with AOT and -Xcomp.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26767#discussion_r2276667953


More information about the hotspot-runtime-dev mailing list