RFR (S): 8186787: clang-4.0 SIGSEGV in Unsafe_PutByte
Andrew Haley
aph at redhat.com
Wed Nov 29 10:16:44 UTC 2017
On 28/11/17 20:30, Kim Barrett wrote:
> Should there be a comment justifying the cast to volatile? Perhaps
> something like "volatile to keep access within guarded scope." I
> don't need a new webrev if you add such a comment.
Better:
"This raw memory access may fault, so make sure it happens while
within guarded scope."
You really do have to spell this out.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the hotspot-runtime-dev
mailing list