> The JSON format thread dump generated by HotSpotDiagnosticMXBean.dumpThreads > and jcmd Thread.dump_to_file currently write the process and thread IDs as > strings. This is changed to write the IDs as numbers when in the "safe range" > that can be parsed by JS and other system. threadDump.schema.json is used to > document the format, this is updated to document the IDs as number or string. > > The changes include a test-only update to JSONValue to add support for > numbers.. While there, it is also updated to bring it closer to current > proposal/JSON for convenience methods. This will make it easier to replace > this test library class once a standard API is further along. A number of > security tests and one JFR test are updated, all trivial changes. > > Testing: Tier 1-5.
Alan Bateman has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision: - Merge branch 'master' into JDK-8381002 - Compatibility knob - Change ML_DSA_Test to use map - Merge branch 'master' into JDK-8381002 - Initial commit ------------- Changes: - all: https://git.openjdk.org/jdk/pull/30467/files - new: https://git.openjdk.org/jdk/pull/30467/files/be0ea039..da502949 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=30467&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30467&range=01-02 Stats: 1329 lines in 36 files changed: 877 ins; 206 del; 246 mod Patch: https://git.openjdk.org/jdk/pull/30467.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30467/head:pull/30467 PR: https://git.openjdk.org/jdk/pull/30467
