When to use ThreadContextClassLoader vs ApplicationClassLoader

yumin qi yumin.qi at gmail.com
Thu Apr 18 20:36:18 UTC 2019


You may check this doc:
https://docs.oracle.com/javase/jndi/tutorial/beyond/misc/classloader.html

On Thu, Apr 18, 2019 at 12:08 PM Sundara Mohan M <m.sundar85 at gmail.com>
wrote:

> Hi,
>    I am trying to understand the class loader delegation concepts and came
> across this ThreadContextClassLoader.
>
> Can someone give me more info on why we need ThreadContextClassLoader if
> ApplicationClassLoader can be used all time?
> Any pointers on this topic will help me to understand this better.
>
> Thanks
> Sundar
>


More information about the hotspot-runtime-dev mailing list