RFR: 8287008: Improve tests for thread dumps in JSON format
    Alan Bateman 
    alanb at openjdk.java.net
       
    Thu May 19 15:36:53 UTC 2022
    
    
  
On Thu, 19 May 2022 15:28:01 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> It would be useful if ThreadDump.java contained a comment with a description of the JSON file syntax. It could either be in the form of a simple dump or as a simple syntactic description.
Still TBD on where the JSON "schema" will be specified, it might HotSpotDiagnosMXBean.dumpThreads so it will needed by tools that parse the JSON text. So when we do that then I think we can reference it from the test class.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8784
    
    
More information about the serviceability-dev
mailing list