Skip to content

perf(java): tune JVM arguments to accelerate format step - #6

Closed
yangyzs wants to merge 1 commit into
mainfrom
feat-java-format-jvm-tuning
Closed

perf(java): tune JVM arguments to accelerate format step#6
yangyzs wants to merge 1 commit into
mainfrom
feat-java-format-jvm-tuning

Conversation

@yangyzs

@yangyzs yangyzs commented Aug 20, 2026

Copy link
Copy Markdown
Owner

Summary of Changes

  • Inject JVM tuning arguments (-XX:+UseParallelGC -XX:TieredStopAtLevel=1 -Xmx2g) into google-java-format execution context in internal/librarian/java/format.go.
  • Enable integration tests on PR presubmits in .github/workflows/java.yaml.

TAG=agy
CONV=b05fcd92-a581-401c-ada5-b4dbda65d62e

…t step

Set ParallelGC, TieredStopAtLevel=1, and Xmx2g maximum heap to speed up google-java-format JVM cold starts and execution.

TAG=agy
CONV=b05fcd92-a581-401c-ada5-b4dbda65d62e
@yangyzs yangyzs closed this Aug 20, 2026
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.

1 participant