RFR(XS) 8076523: assert(((ABS(iv_adjustment_in_bytes) % elt_size) == 0)) fails in superword.cpp

Vladimir Kozlov vladimir.kozlov at oracle.com
Thu Apr 2 23:01:37 UTC 2015


Thank you, Igor

Vladimir

On 4/2/15 3:59 PM, Igor Veresov wrote:
> Looks good.
>
> igor
>
>> On Apr 2, 2015, at 3:33 PM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:
>>
>> http://cr.openjdk.java.net/~kvn/8076523/webrev/
>> https://bugs.openjdk.java.net/browse/JDK-8076523
>>
>> The problem was caused by JDK-8026049 changes. Vectorization assumes that offset in array is aligned to size of memory operations (which access element of array). With UseUnalignedAccesses Long load/store operations could be used to access byte[] array without alignment to sizeof(jlong).
>>
>> Vectorization has code which verifies alignment - it should be adjusted to check that offset % mem_oper_size == 0.
>>
>> Fix tested with failed tests and JPRT.
>>
>> Thanks,
>> Vladimir
>


More information about the hotspot-compiler-dev mailing list