RFR: Runner: if -Djmh.ignoreLock=true then skip jmh.lock creation [v2]

Sergey Ponomarev github.com+415502+stokito at openjdk.java.net
Wed Oct 21 09:03:00 UTC 2020


On Wed, 21 Oct 2020 08:49:21 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> Sergey Ponomarev has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
>> 
>>   Runner: if -Djmh.ignoreLock=true then skip jmh.lock creation
>>   
>>   Signed-off-by: Sergey Ponomarev <stokito at gmail.com>
>
> Marked as reviewed by shade (Committer).

BTW: for me usage of the system variable here looks as not a best choice: it may be better to use command line options and put the flag it into `Options` class. If in future this code will be refactored this may be a thing to think about.
Thank you for accepting the PR.

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

PR: https://git.openjdk.java.net/jmh/pull/6


More information about the jmh-dev mailing list