8205132: Remove Thread.countStackFrames()

seth lytle seth.lytle at gmail.com
Wed Oct 23 22:00:08 UTC 2019

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 ?

On Wed, Oct 23, 2019 at 11:57 AM Alan Bateman <Alan.Bateman at oracle.com> wrote:
> On 23/10/2019 16:25, seth lytle wrote:
> > With respect to "unable to find anything that uses it", a quick search
> > of the code that I have access to shows some usage, though everything
> > I looked at in any depth is either a test or a proxy, so there will be
> > source code changes required. I've never thought about what the right
> > way to handle proxying a deprecated method is.
> >
> Is this maintained code (or tests)? I find it hard to see how anything
> could depend on it. The deprecated warning has been there since 1998,
> the for-removal warning since JDK 9, so I assume the warnings are being
> ignored.
> -Alan

More information about the hotspot-runtime-dev mailing list