On Wed, 14 Apr 2021 00:08:52 GMT, Daniel D. Daugherty <dcu...@openjdk.org> wrote:
> The synopsis pretty much says it all. There's a more detailed history in the > RFE itself. > > Currently running the new test thru Mach5 Tier[1-7]. > I've run the test thru several 12 hour runs on my MBP13 and > on my Linux-X64 server. HI Dan, Some minor comments, but to be frank I have no idea what this test is actually doing - sorry. Cheers, David test/hotspot/jtreg/serviceability/monitoring/ThreadInfo/getLockOwnerName/getLockOwnerName.java line 30: > 28: * non-null string for a blocked thread and then makes repeated calls > 29: * to getThreadInfo() and ThreadInfo.getLockOwnerName() until the thread > 30: * has exited. Extra space before has. test/hotspot/jtreg/serviceability/monitoring/ThreadInfo/getLockOwnerName/getLockOwnerName.java line 33: > 31: * @requires vm.jvmti > 32: * @library /test/lib > 33: * @compile getLockOwnerName.java You don't need a @compile statement for the current test file test/hotspot/jtreg/serviceability/monitoring/ThreadInfo/getLockOwnerName/getLockOwnerName.java line 137: > 135: } > 136: > 137: System.exit(run(timeMax, System.out) + exit_delta); jtreg tests don't use System.exit! test/hotspot/jtreg/serviceability/monitoring/ThreadInfo/getLockOwnerName/getLockOwnerName.java line 189: > 187: while (testState != TS_BLOCKER_RUNNING) { > 188: try { > 189: barrierLaunch.wait(0); // wait until it is > running Nit: we use wait() rather than wait(0) ------------- PR: https://git.openjdk.java.net/jdk/pull/3478