RFR: JDK-8294266: Add a way to pre-touch java thread stacks [v4]

Thomas Stuefe stuefe at openjdk.org
Fri Mar 24 17:44:36 UTC 2023


On Fri, 24 Mar 2023 15:36:14 GMT, Gerard Ziemski <gziemski at openjdk.org> wrote:

>> Thomas Stuefe has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   test changes, comment change
>
> LGTM, just had a few questions...

@gerard-ziemski , @jdksjolen 

Thanks guys, I had almost forgotten about this one :-)

@jdksjolen 

> To me alloca() seems like it should do the right thing. 

I think so too. 

> One question: Why is the global in gc_globals.hpp and not globals.hpp?

Its a companion switch to AlwaysPreTouch, which had been a GC switch for some reason. I think because its main intention was to pretouch heap.

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

PR Comment: https://git.openjdk.org/jdk/pull/10403#issuecomment-1483182291


More information about the hotspot-dev mailing list