8205132: Remove Thread.countStackFrames()

Alan Bateman Alan.Bateman at oracle.com
Thu Oct 24 08:21:48 UTC 2019


On 23/10/2019 23:00, seth lytle wrote:
> At least a couple appear to be recently active, though I don't have
> current access. Maybe an IDE generates boilerplate for proxies and
> ignores deprecation ?
>
> is the speed of the StackWalker approach to counting frames comparable
> to the current native method ?
>
countStackFrames has always been ill-defined, and it requires the thread 
to be suspended. We've been directly people to StackWalker and several 
releases so best to try it yourself and come back with your results/issues.

-Alan


More information about the hotspot-runtime-dev mailing list