RFR: 8282475: SafeFetch should not rely on existence of Thread::current [v7]

Florian Weimer fweimer at openjdk.java.net
Sat Mar 12 14:24:45 UTC 2022


On Sat, 12 Mar 2022 12:32:38 GMT, Andrew Haley <aph at openjdk.org> wrote:

> > into the assembler sources and use
> > ```c++
> >         extern char address_of_label[] __attribute__ ((visibility ("hidden")));
> > ```
> 
> ITYM
> 
> ```
> extern "C" char address_of_label[] __attribute__ ((visibility ("hidden")));

It doesn't hurt, but the Itanium ABI does not mangle such global data symbols, so it's not strictly needed.

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

PR: https://git.openjdk.java.net/jdk/pull/7727


More information about the serviceability-dev mailing list