RFR: 8287008: Improve tests for thread dumps in JSON format

Alan Bateman alanb at openjdk.java.net
Fri May 20 11:34:22 UTC 2022


On Fri, 20 May 2022 04:22:21 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> I think a short example dump would actually be easier to read alongside the code.

That's a good idea. I've updated the class description to include an example and also a code example of how it can be used in tests. The thread dump example collapses several objects to avoid it getting too unwieldily. 

I've started [PR8807](https://github.com/openjdk/jdk/pull/8807) to document the format.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8784


More information about the serviceability-dev mailing list