RFR: JDK-8288003: log events for os::dll_unload [v5]

Thomas Stuefe stuefe at openjdk.java.net
Mon Jun 13 12:31:58 UTC 2022


On Mon, 13 Jun 2022 11:56:18 GMT, David Holmes <dholmes at openjdk.org> wrote:

> > I worried a bit about the thread safety of ::dlerror()
> 
> The usage here is no different to existing usages.

Sure, but they could have been existing errors :-)

For proof that these thoughts are not completely unfounded see e.g. https://gitlab.gnome.org/GNOME/glib/-/issues/399, in that case pertaining to the now defunct eglibc. But older versions of glibc were not threadsafe either.

-------------

PR: https://git.openjdk.org/jdk/pull/9101


More information about the hotspot-runtime-dev mailing list