On 03/08/2016 08:45 PM, Xueming Shen wrote: > [2] http://cr.openjdk.java.net/~sherman/regexClosure/MyBenchmark.java Do return the matches() result: @Benchmark public boolean testMethod() { return matcher.reset(input).matches(); } Thanks, -Aleksey