* [bug#70719] [PATCH] gnu: tla2tools: Add UseParallelGC to Java command in wrapper scripts
@ 2024-05-02 15:35 Karl Hallsby via Guix-patches via
2024-05-31 11:48 ` bug#70719: " Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Karl Hallsby via Guix-patches via @ 2024-05-02 15:35 UTC (permalink / raw)
To: 70719; +Cc: Karl Hallsby, Julien Lepiller
* gnu/pcakages/java.scm: Add -XX:+UseParallelGC to generated wrapper scripts
for TLA+'s binary tools.
TLA+'s tools request (and throw a warning message) when you invoke them
without Java's parallel GC flag. Including this flag removes the warning
message and should improve performance (theoretically).
Change-Id: I12f7432db21db31ae2b0b30cc7f41f4a6af58b0a
---
gnu/packages/java.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index c43231dcb6..63acc11abe 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -20,6 +20,7 @@
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2022 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2024 Paul A. Patience <paul@apatience.com>
+;;; Copyright © 2024 Raven Hallsby <karl@hallsby.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -14447,7 +14448,7 @@ (define-public tla2tools
(display
(string-append
"#!/bin/sh\n"
- java " -cp " java-cp " " class " \"$@\""))))
+ java " -XX:+UseParallelGC " " -cp " java-cp " " class " \"$@\""))))
(chmod file #o755)))))
;; bin/wrapper . java-class
'(("pcal" . "pcal.trans")
base-commit: e2ba93373a29ddf5d5754368957e89f3b426bb0a
--
2.41.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#70719: [PATCH] gnu: tla2tools: Add UseParallelGC to Java command in wrapper scripts
2024-05-02 15:35 [bug#70719] [PATCH] gnu: tla2tools: Add UseParallelGC to Java command in wrapper scripts Karl Hallsby via Guix-patches via
@ 2024-05-31 11:48 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2024-05-31 11:48 UTC (permalink / raw)
To: Karl Hallsby; +Cc: Julien Lepiller, 70719-done
Hi,
Karl Hallsby <karl@hallsby.com> skribis:
> * gnu/pcakages/java.scm: Add -XX:+UseParallelGC to generated wrapper scripts
> for TLA+'s binary tools.
>
> TLA+'s tools request (and throw a warning message) when you invoke them
> without Java's parallel GC flag. Including this flag removes the warning
> message and should improve performance (theoretically).
>
> Change-Id: I12f7432db21db31ae2b0b30cc7f41f4a6af58b0a
Applied, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-31 11:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-02 15:35 [bug#70719] [PATCH] gnu: tla2tools: Add UseParallelGC to Java command in wrapper scripts Karl Hallsby via Guix-patches via
2024-05-31 11:48 ` bug#70719: " Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).