JNDI LDAP Threads & Loom
Jason Rivard
jrivard at gmail.com
Tue Jul 19 11:24:47 UTC 2022
Will JNDI LDAP Threads be "virtualizable"? These threads are created here:
https://github.com/openjdk/jdk/blob/f5a7de86278ce019ffe44a92921dbb4018451a73/src/java.naming/share/classes/com/sun/jndi/ldap/VersionHelper.java#L112
There is no exposed API for controlling the thread creation or
supplying a custom ThreadFactory.
As it happens I manage an app that needs to create hundreds to
thousands of these connections for /reasons/, and that makes for lots
of legacy thread usage.
I suppose a similar question also applies to otherwise similar
internal threads created for per-socket I/O work - I'm assuming there
are others.
Thanks!
-Jason
More information about the loom-dev
mailing list