|
private final Thread thread; |
What happens to the cleaner thread (and a WeakConcurrentMap instance) when the only reference to the instance remains only in the thread itself? How is it supposed to terminate it? Mandatory call to its getCleanerThread().interrupt()?
weak-lock-free/src/main/java/com/blogspot/mydailyjava/weaklockfree/WeakConcurrentMap.java
Line 33 in beac0ac
What happens to the cleaner thread (and a
WeakConcurrentMapinstance) when the only reference to the instance remains only in the thread itself? How is it supposed to terminate it? Mandatory call to itsgetCleanerThread().interrupt()?