Stack allocation prototype for C2
Andrew Haley
aph at redhat.com
Fri Jul 10 11:21:21 UTC 2020
On 09/07/2020 20:28, Charlie Gracie wrote:
> A final consideration is the footprint cost for project Loom. In the zone-based approach
> would each virtual thread (fibre) have its own zone TLAB (or stack of TLABs)?
I wouldn't have thought so. From the VM's point of view, it makes more
sense for the zone TLAB to be owned by the carrier thread. There is the
problem of what happens when we unmount a virtual thread, but that's
quite solvable, I would have thought.
--
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 hotspot-compiler-dev
mailing list