Stack walking performance issue

Andrew Haley aph at
Mon Mar 18 13:48:17 UTC 2019

On 3/18/19 11:33 AM, Stefan Karlsson wrote:
> In ZGC (in JDK 11), we actually do clean out the "weak" pointers in the 
> ResolvedMethodTable, but we do not remove the entries. Therefore, if you 
> do a lot of stack walking and throw away the StackFrameInfos, the 
> ResolvedMethodTable will fill up with cleared entries pointing to NULL.

That's got to be easily fixable, surely?

Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the zgc-dev mailing list