RFR: 8198564: Multiple crashes on SPARC

David Holmes david.holmes at oracle.com
Fri Feb 23 04:31:39 UTC 2018


I'm putting it through same testing as CI - which of course should have 
been done before this was pushed.

Will advise on result.

David

On 23/02/2018 8:03 AM, Stefan Karlsson wrote:
> On 2018-02-22 22:26, Roman Kennke wrote:
>> My change to typeArrayOop.hpp
>> (https://bugs.openjdk.java.net/browse/JDK-8197999) seems to have
>> caused some regressions, esp. on SPARC. The issue is that I'm
>> accidentally calling Access::store_at() with a type of jint and thus
>> generates a memory access wider than a jboolean. It seems to cause
>> SIGBUS on SPARC, but may also simply override adjacent array elements.
>>
>> With some help by Stefan Karlsson, I made a little gtest (ok, he wrote
>> most of it, I only modified it to actually fail without the bugfix).
>>
>> http://cr.openjdk.java.net/~rkennke/8198564/webrev.01
> 
> Looks good.
> 
> The test is a bit hacky and probably uses undefined behavior, so I'm not 
> sure it will hold over time. But right now it manages to reproduce the 
> bug, which is good.
> 
>> Would be good if somebody with access to SPARC could test it there,
>> and if ok, push it?
> 
> I won't have time to run this through our test machinery today. Anyone 
> else?
> 
> Thanks,
> StefanK
>>
>> Thank you,
>> Roman
> 
> 


More information about the hotspot-runtime-dev mailing list