Project Loom technical questions
Andrew Haley
aph at redhat.com
Sun Aug 1 14:09:48 UTC 2021
On 7/31/21 2:19 PM, Ron Pressler wrote:
> The default stack size for platform threads in Java is 1 MB on Linux and Mac. Kernel threads cannot resize
> their stack because they do not know how it’s used by the language; user-mode threads can.
Just one small nit here: this is slightly misleading because platform
thread stacks are lazily allocated. So, while platform threads cannot
shrink their stacks, they do grow them.
--
Andrew Haley (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the loom-dev
mailing list