RFR: 8319980: [JVMCI] libgraal should reuse Thread instances as C2 does [v2]

Vladimir Kozlov kvn at openjdk.org
Wed Nov 22 20:22:06 UTC 2023


On Wed, 22 Nov 2023 20:01:40 GMT, Tom Rodriguez <never at openjdk.org> wrote:

>> Reuse Threads instances for compiler threads in the same way C1/C2 do.  This has been in use for several months now.  mach5 testing is underway.
>
> Tom Rodriguez has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Simplify logic

Yes, it looks much better if it works for jargraal.

Now this code match following code for C1. If your change works can you factor out it into separate method and pass `_compilers[]` value? That is only difference I see.

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

PR Comment: https://git.openjdk.org/jdk/pull/16638#issuecomment-1823456469


More information about the hotspot-compiler-dev mailing list