Proposal: Fully Concurrent ClassLoading

David Holmes david.holmes at oracle.com
Wed Dec 5 11:59:22 UTC 2012


Java 7 introduced support for parallel classloading by adding to each 
class loader a ConcurrentHashMap, referenced through a new field, 
parallelLockMap. This contains a mapping from class names to Objects to 
use as a classloading lock for that class name. This scheme has a number 
of inefficiencies. To address this we propose for Java 8 the notion of a 
fully concurrent classloader ...

This is a fairly simple proposal that I've written up as a blog entry:

https://blogs.oracle.com/dholmes/entry/parallel_classloading_revisited_fully_concurrent

Please discuss this proposal here.

Thanks,
David Holmes




More information about the core-libs-dev mailing list