RFR: 8357473: Compilation spike leaves many CompileTasks in free list [v5]

Aleksey Shipilev shade at openjdk.org
Fri Jul 4 13:35:41 UTC 2025


On Fri, 4 Jul 2025 09:08:19 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> See bug for more discussion.
>> 
>> This PR implements the "all the way" solution by removing the free list completely. It complements https://github.com/openjdk/jdk/pull/25364, and can go either first, or second. We will remerge the other one once either integrates.
>> 
>> Additional testing:
>>  - [x] Linux x86_64 server fastdebug, `compiler`
>>  - [x] Linux AArch64 server fastdebug, `all`
>
> Aleksey Shipilev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains seven commits:
> 
>  - Merge branch 'master' into JDK-8357473-compile-task-free-list
>  - Merge branch 'master' into JDK-8357473-compile-task-free-list
>  - Merge branch 'master' into JDK-8357473-compile-task-free-list
>  - Merge branch 'master' into JDK-8357473-compile-task-free-list
>  - Also free the lock!
>  - Comments and indenting
>  - Basic deletion

I would like to ditch the `CompileTaskAlloc_lock` completely, but that needs https://github.com/openjdk/jdk/pull/26127 to be done first.

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

PR Comment: https://git.openjdk.org/jdk/pull/25409#issuecomment-3036297988


More information about the hotspot-compiler-dev mailing list