This is an automated email from the ASF dual-hosted git repository.
joewitt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/master by this push:
new 5562c58 NIFI-6132: This closes #3776. Do not default ot G1GC because
it has known issues with Java 8 and earlier versions
5562c58 is described below
commit 5562c587fe4115097a143186c5d7a0efe7086b9c
Author: Mark Payne <[email protected]>
AuthorDate: Mon Sep 30 10:53:25 2019 -0400
NIFI-6132: This closes #3776. Do not default ot G1GC because it has known
issues with Java 8 and earlier versions
Signed-off-by: Joe Witt <[email protected]>
---
.../nifi-resources/src/main/resources/conf/bootstrap.conf | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/bootstrap.conf
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/bootstrap.conf
index f1da811..5fa1cf2 100644
---
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/bootstrap.conf
+++
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/bootstrap.conf
@@ -44,9 +44,10 @@ java.arg.4=-Djava.net.preferIPv4Stack=true
java.arg.5=-Dsun.net.http.allowRestrictedHeaders=true
java.arg.6=-Djava.protocol.handler.pkgs=sun.net.www.protocol
-# The G1GC is still considered experimental but has proven to be very
advantageous in providing great
-# performance without significant "stop-the-world" delays.
-java.arg.13=-XX:+UseG1GC
+# The G1GC is known to cause some problems in Java 8 and earlier, but the
issues were addressed in Java 9. If using Java 8 or earlier,
+# it is recommended that G1GC not be used, especially in conjunction with the
Write Ahead Provenance Repository. However, if using a newer
+# version of Java, it can result in better performance without significant
"stop-the-world" delays.
+#java.arg.13=-XX:+UseG1GC
#Set headless mode by default
java.arg.14=-Djava.awt.headless=true