Use of Hashtable in Prism
philip.race at oracle.com
Mon Sep 23 17:32:07 UTC 2019
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.
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 ?
More information about the openjfx-dev