Skip to content

GH-43394: [Java][Benchmarking] Fix Java benchmarks for Java 17+#43395

Merged
danepitkin merged 2 commits intoapache:mainfrom
danepitkin:danepitkin/java-11-benchmarks
Jul 24, 2024
Merged

GH-43394: [Java][Benchmarking] Fix Java benchmarks for Java 17+#43395
danepitkin merged 2 commits intoapache:mainfrom
danepitkin:danepitkin/java-11-benchmarks

Conversation

@danepitkin
Copy link
Copy Markdown
Member

@danepitkin danepitkin commented Jul 23, 2024

Rationale for this change

Now that Arrow Java has moved from Java 8 -> Java 11, we need to add --add-opens when running Java.

What changes are included in this PR?

  • Add --add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED to _JAVA_OPTIONS in archery.
  • Clean up test code only used for Java 8

Are these changes tested?

To be verified via CI and ursabot.

Are there any user-facing changes?

No

@github-actions
Copy link
Copy Markdown

⚠️ GitHub issue #43394 has been automatically assigned in GitHub to PR creator.

@github-actions github-actions bot added the awaiting review Awaiting review label Jul 23, 2024
@danepitkin
Copy link
Copy Markdown
Member Author

@ursabot please benchmark lang=Java

@ursabot
Copy link
Copy Markdown

ursabot commented Jul 23, 2024

Benchmark runs are scheduled for commit 3b8b942. Watch https://buildkite.com/apache-arrow and https://conbench.ursa.dev for updates. A comment will be posted here when the runs are complete.

@danepitkin
Copy link
Copy Markdown
Member Author

Copy link
Copy Markdown
Contributor

@vibhatha vibhatha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @danepitkin, PR LGTM.

@vibhatha
Copy link
Copy Markdown
Contributor

@danepitkin shall we run the crossbows as well?

@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Jul 24, 2024
@danepitkin
Copy link
Copy Markdown
Member Author

@github-actions crossbow submit -g java

@danepitkin
Copy link
Copy Markdown
Member Author

Thanks @vibhatha!

@github-actions
Copy link
Copy Markdown

Revision: 3b8b942

Submitted crossbow builds: ursacomputing/crossbow @ actions-4f8795faaf

Task Status
java-jars GitHub Actions
test-conda-python-3.11-spark-master GitHub Actions
verify-rc-source-java-linux-almalinux-8-amd64 GitHub Actions
verify-rc-source-java-linux-conda-latest-amd64 GitHub Actions
verify-rc-source-java-linux-ubuntu-20.04-amd64 GitHub Actions
verify-rc-source-java-linux-ubuntu-22.04-amd64 GitHub Actions
verify-rc-source-java-macos-amd64 GitHub Actions

@conbench-apache-arrow
Copy link
Copy Markdown

Thanks for your patience. Conbench analyzed the 2 benchmarking runs that have been run so far on PR commit 3b8b942.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

@conbench-apache-arrow
Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit a49dbcc.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 3 possible false positives for unstable benchmarks that are known to sometimes produce them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants