[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.memory-analyzer] Classes from rt.jar loaded by different loaders ?

This is one doubt I got into while analyzing a heap dump. I was trying to view the classes loaded by the different class loaders, I see that system class loader has loaded classes like java.util.HashMap etc. Then I observed another class loader sun.misc.Launcher$AppClassLoader and there also I see that it has references to classes java.util.HashMap. This has led me to confusion, I always thought that if system CL is loading classes like java.util.HashMap, it will not be loaded by any other class loader since it is the parent CL and a class loaded by a loader can not be loaded by its child loaders. Can you pls clarify on this please ?