RFR: 8198564: Multiple crashes on SPARC
Roman Kennke
rkennke at redhat.com
Thu Feb 22 21:26:27 UTC 2018
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
Would be good if somebody with access to SPARC could test it there,
and if ok, push it?
Thank you,
Roman
More information about the hotspot-runtime-dev
mailing list