hg: jdk10/jdk10/jdk: 8187044: HttpClient ConnectionPool may spawn several concurrent CacheCleaner and prevent early GC of HttpClient.

daniel.fuchs at oracle.com daniel.fuchs at oracle.com
Fri Sep 1 17:21:30 UTC 2017


Changeset: 5fcfc9e09966
Author:    dfuchs
Date:      2017-09-01 18:18 +0100
URL:       http://hg.openjdk.java.net/jdk10/jdk10/jdk/rev/5fcfc9e09966

8187044: HttpClient ConnectionPool may spawn several concurrent CacheCleaner and prevent early GC of HttpClient.
Summary: Fixes CacheCleaner creation logic in ConnectionPool.
Reviewed-by: chegar

! src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/ConnectionPool.java
! test/java/net/httpclient/whitebox/Driver.java
+ test/java/net/httpclient/whitebox/jdk.incubator.httpclient/jdk/incubator/http/ConnectionPoolTest.java



More information about the jdk10-changes mailing list