RFR(S): 8136473: failed: no mismatched stores, except on raw memory: StoreB StoreI

Paul Sandoz paul.sandoz at oracle.com
Wed Sep 16 09:53:17 UTC 2015


Hi Roland,

Excuse my ignorance here but is it necessary to check for Op_StoreB in the following?

2366 #ifdef ASSERT
2367 static bool maybe_unaligned_store(Node* n) {
2368   StoreNode* st = n->as_Store();
2369   return st->Opcode() == Op_StoreL ||
2370     st->Opcode() == Op_StoreI ||
2371     st->Opcode() == Op_StoreB ||
2372     st->Opcode() == Op_StoreC;
2373 }
2374 #endif

Paul.

On 16 Sep 2015, at 10:35, Roland Westrelin <roland.westrelin at oracle.com> wrote:

> http://cr.openjdk.java.net/~roland/8136473/webrev.00/
> 
> The problem here is that intrinsified Unsafe.Put*Unaligned methods may cause mismatched stores to be on the same memory slice.
> 
> Roland.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20150916/d1cd0515/signature.asc>


More information about the hotspot-compiler-dev mailing list