RFC: AArch64: Set Segmented CodeCache default size to 127M

Andrew Haley aph-open at littlepinkcloud.com
Sat Feb 12 10:23:55 UTC 2022


On 2/11/22 16:23, Andrew Haley wrote:
> A quick back-of-the-envelope calculation tells me that about 3.5% of
> the code cache is occupied by trampolines and the extra bytes used by
> far calls. However, many of the far calls

s/far calls/trampolines/

> are never needed; I don't
> have stats for that, but I'd guess about half of them. But given the
> (plausible ?)  assumption that the dynamic frequency of calls is the
> same as the static frequency, I wouldn't be surprised if the cost of
> trampoline calls is about 2% of the total instruction count, so it'd
> be nice to be rid of them if there were no cost; but there is a cost.


-- 
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-dev mailing list