RFR: 8286891: thread_local causes undefined symbol error with XL C

Martin Doerr mdoerr at openjdk.java.net
Mon May 23 09:24:56 UTC 2022


On Mon, 23 May 2022 09:21:21 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> src/hotspot/share/prims/universalUpcallHandler.cpp line 51:
>> 
>>> 49:   #ifdef _AIX
>>> 50:     UpcallContext() {}
>>> 51:   #endif
>> 
>> I'd prefer for this to not be AIX specific. Adding an explicit empty constructor seems harmless enough - with a comment of course e.g.
>> 
>> UpCallContext() {} // Explicit constructor to avoid potential xlc compiler bug
>> 
>> @JornVernee what do you think?
>
> Yeah, that seems better to me as well.

+1

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

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


More information about the hotspot-dev mailing list