[8u] RFR (S) 8227018: CompletableFuture should not call Runtime.availableProcessors on fast path

Aleksey Shipilev shade at redhat.com
Mon Jul 1 15:24:12 UTC 2019


On 7/1/19 5:20 PM, Bob Vandette wrote:
> This quick patch reduces the performance difference to noise.
> This assumes that none of the cpu resource limits change.

This looks like a fix for JDK-8227006. We can backport that later too. CompletableFuture is changed
since 8u to drop this Runtime.availableProcessor call from the fast path anyway.

-- 
Thanks,
-Aleksey



More information about the jdk8u-dev mailing list