Skip to content

Commit

Permalink
Increase GCLocker retries for Maven
Browse files Browse the repository at this point in the history
The build was observed failing with

    Warning: [325.033s][warning][gc,alloc] mvn-builder-trino-parquet: Retried waiting for GCLocker too often allocating 4194306 words

on CI.
  • Loading branch information
findepi authored and wendigo committed Dec 15, 2023
1 parent 982be2a commit 23be8c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .mvn/jvm.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@
--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
-XX:+UnlockDiagnosticVMOptions
-XX:GCLockerRetryAllocationCount=100

0 comments on commit 23be8c9

Please sign in to comment.