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

Johannes Bechberger duke at openjdk.java.net
Mon Mar 7 18:31:02 UTC 2022


On Mon, 7 Mar 2022 12:26:00 GMT, Johannes Bechberger <duke at openjdk.java.net> wrote:

>> src/hotspot/share/runtime/threadWXSetters.inline.hpp line 33:
>> 
>>> 31: #if defined(__APPLE__) && defined(AARCH64)
>>> 32: 
>>> 33: #include "runtime/thread.inline.hpp" // dependencies require this include
>> 
>> I can't see how this include is needed now.
>
> I tried to replace it with os.hpp (and os.inline.hpp) but it caused a linker error.

I was wrong, I removed it.

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

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


More information about the serviceability-dev mailing list