UnsafeAccess class produces SIGBUS on Solaris/SPARC and crashes the JVM. I have originally found this issue with Gatling that ships OpenHFT ZAH as part of Scala's Zinc compiler. It crashes regardless of OS and JDK version, making the platform being the only thing left. Possible issue is alignment given that SPARC and ARM processors enforce it while x86 is permissive (see, for example: https://shipilev.net/jvm/anatomy-quarks/24-object-alignment/)
To reproduce the problem:
0. on a Solaris/SPARC platform (I can assist here if needed) clone the git repository
- run
mvn package
- observe the test results:
mvn-package.out.txt
I am attaching the error reports:
error_report.zip
UnsafeAccess class produces SIGBUS on Solaris/SPARC and crashes the JVM. I have originally found this issue with Gatling that ships OpenHFT ZAH as part of Scala's Zinc compiler. It crashes regardless of OS and JDK version, making the platform being the only thing left. Possible issue is alignment given that SPARC and ARM processors enforce it while x86 is permissive (see, for example: https://shipilev.net/jvm/anatomy-quarks/24-object-alignment/)
To reproduce the problem:
0. on a Solaris/SPARC platform (I can assist here if needed) clone the git repository
mvn packagemvn-package.out.txt
I am attaching the error reports:
error_report.zip