This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
domainsByPackage caches using a String key, which is generated as a substring from the first-used class file name. As each of the loaders builds its own cache and as the file names are constructed on the fly, duplicate char arrays containing the names of commonly used classes (like "java/beans/PropertyChangeSupport.class" are held many times. ~200kB kan be spared.
Fixed core/bootstrap/src/org/netbeans/ProxyClassLoader.java,v1.12
Verified using Insane. Really spares nearly 200kB, 150kB on char[], 40kB on String instances.