RFR: JDK-8259372: remove AIX related USE_LIBRARY_BASED_TLS_ONLY and THREAD_LOCAL special handling

Matthias Baesken mbaesken at openjdk.java.net
Tue Jan 12 14:45:56 UTC 2021


On Mon, 11 Jan 2021 09:57:10 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> Hi Matthias,
>> We didn't introduce USE_LIBRARY_BASED_TLS_ONLY just for AIX, it was also added to aid the mobile project:
>> http://mail.openjdk.java.net/pipermail/hotspot-dev/2015-November/020765.html
>> Before removing it we would need to have a broader discussion.
>> Thanks,
>> David
>
> Hi Matthias,
> 
> Removal looks good. I have a small preference for leaving it in; but OTOS we never really test this coding since all main platforms use __thread. Maybe removal is good then. I'll defer to David for the final decision.
> 
> Cheers, Thomas

Hi, considering RISC-V and potential  use for mobile , I think I better touch only the AIX specifics and leave the shared code as it is .
Please see the latest change.

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

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


More information about the hotspot-dev mailing list