When to use ThreadContextClassLoader vs ApplicationClassLoader
David Holmes
david.holmes at oracle.com
Thu Apr 18 23:09:18 UTC 2019
Please note your question was nothing to do with the development of the
Hotspot VM in OpenJDK. Questions on the Java language and API usage
should be directed to appropriate user groups/forums.
Thanks,
David
On 19/04/2019 8:05 am, Sundara Mohan M wrote:
> 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