Skip to content

Commit

Permalink
Fix jvmArgs
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed May 17, 2024
1 parent 10dde03 commit 69e096c
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -653,19 +653,17 @@ jlink {
addOptions('--strip-debug', '--compress', 'zip-6', '--no-header-files', '--no-man-pages')
launcher {
name = 'JabRef'

// -Xgcpolicy:balanced
// Use "balanced" policy, which should provide better application performance
// See for details https://www.eclipse.org/openj9/docs/gc/#balanced-policy
// -Xms220M
// Provide more than 8 MB initial heap size (defaults are listed at https://www.eclipse.org/openj9/docs/openj9_defaults/)
jvmArgs = ['-Xgcpolicy:balanced', '-Xms220M']
}

addOptions("--bind-services")

// Use "balanced" policy, which should provide better application performance
// See for details https://www.eclipse.org/openj9/docs/gc/#balanced-policy
// Issue as of 2022-09-26: "Error: unknown option: -Xgcpolicy:balanced"
// addOptions('-Xgcpolicy:balanced')

// Provide more than 8 MB initial heap size (defaults are listed at https://www.eclipse.org/openj9/docs/openj9_defaults/)
// Issue as of 2022-09-26: Not recoginzed as option
// addOptions('-Xms220M')

// TODO: Remove the following as soon as the dependencies are fixed (upstream)
// forceMerge is usually needed when some non-modular artifacts in the dependency graph use code that was previously part of the JDK
// but it was removed in the newer releases.
Expand Down

0 comments on commit 69e096c

Please sign in to comment.