RFR: JDK-8283326: Implement SafeFetch statically
David Holmes
dholmes at openjdk.java.net
Tue Apr 12 10:27:36 UTC 2022
On Tue, 12 Apr 2022 09:33:04 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> How would this work? You would add a "#if defined(zero) && defined(aix) &&..." to safefetch_sigjmp.cpp?
>
> I honestly find this less readable and grep-able than now...
I missed the use of SAFEFETCH_METHOD_SIGSETJMP to control the compilation of safefetch_sigjmp.cpp, but that is the only define that you need. Posix systems are either setjmp or static the only file that needs to know that is safefetch_sigjmp.cpp.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7865
More information about the hotspot-dev
mailing list