Integrated: 8279022: JCmdTestFileSafety.java should check file time stamp for test result

Yumin Qi minqi at openjdk.java.net
Wed Dec 22 16:21:17 UTC 2021


On Tue, 21 Dec 2021 02:45:35 GMT, Yumin Qi <minqi at openjdk.org> wrote:

> When test finished, the created archive file should be checked after  the first run for existence, and checked for time stamp after second run.  Since the file name is same, this method is more accurate than the existing checking, only checking the existence of the file. Since jcmd can do repeat dynamic dump to same java process now, removed unnecessary restart process code.
> 
> Tests: tier1, jtreg on local linux-x64.
> 
> Thanks
> Yumin

This pull request has now been integrated.

Changeset: 9a478b34
Author:    Yumin Qi <minqi at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/9a478b347e1ef7aecfc8bbc2e3c5e6ac7c23ba36
Stats:     32 lines in 1 file changed: 22 ins; 5 del; 5 mod

8279022: JCmdTestFileSafety.java should check file time stamp for test result

Reviewed-by: ccheung

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

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


More information about the hotspot-runtime-dev mailing list