RFR: 8148361: Need to disable the thread local storage compiler option for ios

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Wed Jan 27 14:03:14 UTC 2016

On 2016-01-27 13:42, Gary Adams wrote:
> When the sync with jdk9 b102 was pulled into mobile/dev repos a new
> feature for thread local storage was over looked. Most modern compilers
> include support for thread local declaration, but this feature is 
> intentionally
> not supported by Apple's clang compiler.
> This change declares USE_LIBRARY_BASED_TLS_ONLY along with other
> TARGET_OS_IPHONE declarations in the hotspot globalDefinitions_gcc.hpp 
> file.
>   Issue: https://bugs.openjdk.java.net/browse/JDK-8148361
>   Webrev: http://cr.openjdk.java.net/~gadams/8148361/webrev.00/

 From my perspective it looks good, but since you're actually modifying 
the hotspot source code and not make files, someone from the Hotspot 
team should look at this as well.


More information about the hotspot-runtime-dev mailing list