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

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Sep 16 16:47:04 UTC 2015

Hmm, so you just relaxed the assert. You may need to fix EA too because it also checks for matching types(memory sizes).
I remember we had problem with RAW accesses back when jsr292 was implemented. So EA gave up on RAW access and marks 
allocations as escaping. Also may be superword/vectorization will be affected.

In general it is very bad for C2 to have different memory on the same non-RAW memory.

Modify test to make array scalar replaceable and see. Also try vectorization.


On 9/16/15 1:35 AM, Roland Westrelin 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.

More information about the hotspot-compiler-dev mailing list