On Wed, 23 Mar 2022 21:04:52 GMT, liach <d...@openjdk.java.net> wrote:
>> XenoAmess has updated the pull request incrementally with one additional >> commit since the last revision: >> >> use jmh Blackhole > > test/jdk/java/util/Collections/CalculateHashMapCapacityTestJMH.java line 42: > >> 40: public class CalculateHashMapCapacityTestJMH { >> 41: >> 42: private void consume(int tmp) { > > You should pass a jmh Blackhole object in the parameter of test methods and > call its consume method. jmh will automatically pass the blackhole. This one > will be eliminated as dead code. @liach done. ------------- PR: https://git.openjdk.java.net/jdk/pull/7928