Describe the bug, including details regarding any error messages, version, and platform.
See benchmark report https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ec2-c6a-4xlarge-us-east-2/builds/202#0190df7f-d82d-4128-b98b-42b30daf2d02/6-10332
We need to add --add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED when running benchmarks.
Component(s)
Java