RFR: 8282306: os::is_first_C_frame(frame*) crashes on invalid link access [v13]

Johannes Bechberger duke at openjdk.java.net
Tue Mar 15 07:15:45 UTC 2022


On Tue, 15 Mar 2022 06:01:27 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> Johannes Bechberger has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add check for Thread to CanUseSafefetch
>
> src/hotspot/share/runtime/safefetch.inline.hpp line 57:
> 
>> 55: // returns true if SafeFetch32 and SafeFetchN can be used safely (stubroutines are already generated)
>> 56: inline bool CanUseSafeFetch32() {
>> 57: #if defined (__APPLE__) && defined(AARCH64)
> 
> Pls in front of this __APPLE__ section and the one below add a comment like `// workaround for JDK-8282475`. That will remind us to remove this again once that bug is fixed.

You're right, I forgot to add this comment.

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

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


More information about the hotspot-dev mailing list