Friday, July 1, 2011

AppClassLoader, Weblogic's ChangeAwareClassLoader and Fast-Swap

I have run a heap analysis on my OSB instance after a heavy load test,
and I see that the objects in memory have been instantiated respectively by:

sun.misc.Launcher$AppClassLoader @ 0x781d06da8 (71%)

<system class loader> (11%)

weblogic.utils.classloaders.ChangeAwareClassLoader @ 0x783701a80 (6%)

weblogic.utils.classloaders.ChangeAwareClassLoader @ 0x78319d9a0 (4%)

weblogic.utils.classloaders.ChangeAwareClassLoader @ 0x78310ae60 (3%)

weblogic.utils.classloaders.GenericClassLoader @ 0x7828bef88 (1%)

weblogic.utils.classloaders.GenericClassLoader @ 0x7849ed9d8 (1%)


so I wondered what is the weblogic ChangeAwareClassLoader

a very interesting article on the subject:
http://blog.eisele.net/2009/02/weblogic-server-quicker-development.html

Actually by reading this http://en.wikipedia.org/wiki/Java_Classloader  I assume that "sun.misc.Launcher$AppClassLoader" and "<system class loader>" should be the same thing...; to be investigated!


No comments: