OpenHFT / OpenHFT/Zero-Allocation-Hashing
Possible alignment issues crashing JVM on SPARC platform
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 845
- Forks
- 140
- Avg merge
- 12d 38m
- Merged PRs (30d)
- 2
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the UnsafeAccess class and reproducing the failure on Solaris/SPARC with mvn package. Use the attached Maven output and error report to identify the operation causing SIGBUS and verify the result by rerunning the package tests without a JVM crash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100