I am not sure but mutation of the Hashtable only happens from inside a
block synchronized on CACHE_SIZE_LOCK.

Perhaps this somehow plays into it .. in some way I can't see.
But I am told that uncontended locks are quite cheap these days.

-phil

On 9/23/19, 10:18 AM, Scott Palmer wrote:
I just noticed that NetBeans is warning me about use of an “obsolete 
collection” in PrismTextLayout.java.

Is there a reason this isn’t using HashMap or ConcurrentHashMap ?

Scott

Reply via email to