RFR: 8279022: JCmdTestFileSafety.java should check file time stamp for test result [v2]

Yumin Qi minqi at openjdk.java.net
Tue Dec 21 16:51:36 UTC 2021


> 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

Yumin Qi has updated the pull request incrementally with one additional commit since the last revision:

  Refactor remove file code

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6904/files
  - new: https://git.openjdk.java.net/jdk/pull/6904/files/4735d3ce..aad77282

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6904&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6904&range=00-01

  Stats: 21 lines in 1 file changed: 10 ins; 9 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6904.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6904/head:pull/6904

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


More information about the hotspot-runtime-dev mailing list