hg: jdk10/sandbox/jdk: 8187044: HttpClient ConnectionPool may spawn several concurrent CacheCleaner and prevent early GC of HttpClient.
chris.hegarty at oracle.com
chris.hegarty at oracle.com
Fri Sep 1 17:33:30 UTC 2017
Changeset: 5fcfc9e09966
Author: dfuchs
Date: 2017-09-01 18:18 +0100
URL: http://hg.openjdk.java.net/jdk10/sandbox/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-sandbox-changes
mailing list