RFR (S): 8151322: Implement os::set_native_thread_name() on Solaris

Gerard Ziemski gerard.ziemski at oracle.com
Tue Mar 15 21:49:34 UTC 2016


> On Mar 15, 2016, at 4:31 PM, David Holmes <david.holmes at oracle.com> wrote:
> 
>> Couldn’t we look it up on as needed basis in the implementation of "void os::set_native_thread_name(const char *name)” instead?
> 
> AFAIK we never lookup anything as-needed but always handle it at VM initialization time. A quick grep will show that we are using RTLD_DEFAULT in a few places across different platforms. Elsewhere we know what library we have to search. I can try finding out which library it should be if you think that is preferable?

Sure, either that or we find out the performance impact on the startup time, so then we can decide if it’s an issue or not.


thanks



More information about the hotspot-runtime-dev mailing list