RFR: 8287785: Reduce runtime of java.lang.invoke microbenchmarks [v2]

Claes Redestad redestad at openjdk.java.net
Fri Jun 3 12:53:40 UTC 2022


On Fri, 3 Jun 2022 12:37:16 GMT, liach <duke at openjdk.java.net> wrote:

>> Claes Redestad has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove unused cached field in LookupAcquire
>
> test/micro/org/openjdk/bench/java/lang/invoke/LookupAcquire.java line 59:
> 
>> 57:     @Setup
>> 58:     public void setup() {
>> 59:         cached = MethodHandles.lookup();
> 
> Since the benchmark using the cached object is removed, should this field be removed as well?

Fixed!

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

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


More information about the core-libs-dev mailing list