[cp-patches] FYI: Add remaining missing Thread methods

Jeroen Frijters jeroen at sumatra.nl
Wed Jun 28 08:52:13 UTC 2006

Andrew John Hughes wrote:
> The attached patch adds the two missing stack trace methods to
> Thread.  Currently, they are untested, as nothing yet implements
> the new VM method for thread stacktraces.

Thanks! It doesn't yet work, as ManagementFactory.getThreadMXBean() is
currently still unimplemented.

> On that note, if there is some way we can reuse the existing stack
> trace stuff, let me know.  I'm not sure how it respects individual
> threads at present.

I don't think so and the problems are somewhat different too. Obtaining
the stack trace of the current thread is (a little) easer than that of
an arbitrary thread (where you have to suspend the thread to be able to
safely walk the stack).


More information about the Classpath-patches mailing list