On Thu, 31 Aug 2023 04:53:26 GMT, David Holmes <dhol...@openjdk.org> wrote:

> No not namespaces, just by using C++ so it a member function, then C++ name 
> mangling would mean the symbol would be different to some same-named function 
> in some other library - in essence the class name part of the symbol would 
> provide the "unique" prefix.

Thanks for the clarification. Yeah, C++ name mangling indeed helps in many 
cases. For hotspot code, we've only seen very few issues where the class names 
are the same, such as StringTable and Thread (with pending OpenJDK bugs filed 
already).

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

PR Comment: https://git.openjdk.org/jdk/pull/15477#issuecomment-1701292028

Reply via email to