Use of Hashtable in Prism

Philip Race philip.race at
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
> Is there a reason this isn’t using HashMap or ConcurrentHashMap ?
> Scott

More information about the openjfx-dev mailing list