RFR(XS): 8234977: [Aarch64] C1 lacks a membar store in slowpath of allocate_array

Liu, Xin xxinliu at amazon.com
Tue Dec 3 11:00:41 UTC 2019


Hi,

C1 misses a member for the slow path of alloc_array or alloc_obj on aarch64. We met this problem when we ran jcstress on AWS graviton processor, which might reorder stores.   Without a storestore member, put_field behind might commit to memory ahead of array/object initialization.
This change tries to fix that by adjusting bound location. Could reviewers help me  to review this change?

Bug: https://bugs.openjdk.java.net/browse/JDK-8234977
Webrev: https://cr.openjdk.java.net/~xliu/8234977/00/webrev/

Validation:  I passed jcstress and hotspot tier1 on arch64.

Thanks,
--lx





More information about the hotspot-compiler-dev mailing list