Question on jmh.lock
Alun Evans
alun at badgerous.net
Tue Jan 12 17:55:52 UTC 2016
Hello,
Firstly, thanks for all the great work on JMH, it’s really useful for me.
I’ve got a question about this fix:
https://bugs.openjdk.java.net/browse/CODETOOLS-7901013
http://hg.openjdk.java.net/code-tools/jmh/file/bcec9a03787f/jmh-core/src/main/java/org/openjdk/jmh/runner/Runner.java#l63
This java.io.tmp + jmh.lock doesn’t seemed to be deleted at the end of a test run, meaning that when a different user comes to run the test, the file already exists.
I was debating setting `java.io.tmp` to something else, but I think that the goal is that only 1 user per machine should really be running a JMH test at the same time, so it’s probably just better to cleanup the lock file ?
thanks,
A.
--
Alun Evans
More information about the jmh-dev
mailing list