When to use ThreadContextClassLoader vs ApplicationClassLoader

Sundara Mohan M m.sundar85 at gmail.com
Thu Apr 18 22:05:35 UTC 2019


Thanks a lot for sharing.

On Thu, Apr 18, 2019 at 1:36 PM yumin qi <yumin.qi at gmail.com> wrote:

> 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