On Mon, 28 Nov 2022 23:28:00 GMT, Alex Menkov <amen...@openjdk.org> wrote:
> The fix combines almost the same tests to 1 test to remove code duplication test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount/reset001.java line 45: > 43: * > 44: * @comment Direct access to the metrics. > 45: * @run main/othervm > nsk.monitoring.ThreadMXBean.resetPeakThreadCount.reset001 I think it would be better to have several @test id instead of multi @run for such cases. It allows for reporting the individual results for each run and executing them parallelly. ------------- PR: https://git.openjdk.org/jdk/pull/11400