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

Andrew Haley aph at openjdk.java.net
Sat Mar 12 17:42:43 UTC 2022


On Sat, 12 Mar 2022 14:21:13 GMT, Florian Weimer <fweimer at openjdk.org> wrote:

> > ```
> > 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.

That's an interesting point of view. I guess I never thought about it, but I'd always put symbols for an asm file in an `extern "C"` section anyway. But yeah, OK.

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

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


More information about the shenandoah-dev mailing list