RFR: 8356173: Remove ThreadCritical [v3]

Coleen Phillimore coleenp at openjdk.org
Fri May 9 22:13:39 UTC 2025


On Fri, 9 May 2025 20:46:22 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> Deferred<> doesn't help me because it still has to call the initialize function, which is the thing we don't want to have to call.
>
> As I said in another comment, Windows appears to require a call to an initialization function.  So this seems
> like a good candidate for Deferred<> to me, removing some relatively boiler-plate code.

I'm not really sold on what the purpose of Deferred is tbh.  Seems like it would add some more boilerplate since I the initialization function is only one obvious line.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25072#discussion_r2082558924


More information about the hotspot-dev mailing list