RFR: 8284273: Early crashes in os::print_context on AArch64

Gerard Ziemski gziemski at openjdk.java.net
Thu May 19 14:33:50 UTC 2022


On Thu, 19 May 2022 13:54:32 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> > I like this, but I'm curious about something. Couldn't we use `Safefetch` to handle the risky sections? Then we could carry on printing.
> 
> Yes, and we should. But splitting larger steps into smaller ones makes sense too, since code tends to bitrot and one never can be sure to cover all places with SafeFetch.

Thank you Thomas for chiming in.

Thomas mentioned using `Safefetch` in his pre-review of https://github.com/openjdk/jdk/pull/8571 but I thought it would be better to leave that for a follow-up as there are a few issues of interest here.

I understand that this fix doesn't solve everything, but it's a step in the right direction.

There will most certainly be more work in this area.

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

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


More information about the hotspot-dev mailing list