From a1fd20bc7652ea10b6c78bd806601868c41a7d26 Mon Sep 17 00:00:00 2001 From: Gaurav Gupta Date: Thu, 18 Apr 2019 16:58:34 +0530 Subject: [PATCH] PAYARA-3577 Hazelcast internal package access requirement to get the best performance results --- .../gf_template/src/main/resources/config/domain.xml | 12 ++++++++++++ .../src/main/resources/config/domain.xml | 12 ++++++++++++ .../src/main/resources/config/domain.xml | 12 ++++++++++++ .../src/main/resources/config/domain.xml | 12 ++++++++++++ 4 files changed, 48 insertions(+) diff --git a/appserver/admin/gf_template/src/main/resources/config/domain.xml b/appserver/admin/gf_template/src/main/resources/config/domain.xml index 19df367328d..a5b01f2bf2e 100644 --- a/appserver/admin/gf_template/src/main/resources/config/domain.xml +++ b/appserver/admin/gf_template/src/main/resources/config/domain.xml @@ -202,6 +202,12 @@ -client [9|]--add-opens=java.base/jdk.internal.loader=ALL-UNNAMED [9|]--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED + + [9|]--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED + [9|]--add-opens=java.base/java.lang=ALL-UNNAMED + [9|]--add-opens=java.base/java.nio=ALL-UNNAMED + [9|]--add-opens=java.base/sun.nio.ch=ALL-UNNAMED + [9|]--add-opens=java.management/sun.management=ALL-UNNAMED -Djava.awt.headless=true -Djdk.corba.allowOutputStreamSubclass=true -Djavax.xml.accessExternalSchema=all @@ -410,6 +416,12 @@ -server [9|]--add-opens=java.base/jdk.internal.loader=ALL-UNNAMED [9|]--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED + + [9|]--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED + [9|]--add-opens=java.base/java.lang=ALL-UNNAMED + [9|]--add-opens=java.base/java.nio=ALL-UNNAMED + [9|]--add-opens=java.base/sun.nio.ch=ALL-UNNAMED + [9|]--add-opens=java.management/sun.management=ALL-UNNAMED -Djava.awt.headless=true -Djdk.corba.allowOutputStreamSubclass=true -XX:+UnlockDiagnosticVMOptions diff --git a/appserver/admin/gf_template_web/src/main/resources/config/domain.xml b/appserver/admin/gf_template_web/src/main/resources/config/domain.xml index 76f02025061..bb6e564cd23 100644 --- a/appserver/admin/gf_template_web/src/main/resources/config/domain.xml +++ b/appserver/admin/gf_template_web/src/main/resources/config/domain.xml @@ -196,6 +196,12 @@ -client [9|]--add-opens=java.base/jdk.internal.loader=ALL-UNNAMED [9|]--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED + + [9|]--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED + [9|]--add-opens=java.base/java.lang=ALL-UNNAMED + [9|]--add-opens=java.base/java.nio=ALL-UNNAMED + [9|]--add-opens=java.base/sun.nio.ch=ALL-UNNAMED + [9|]--add-opens=java.management/sun.management=ALL-UNNAMED -Djava.awt.headless=true -Djdk.corba.allowOutputStreamSubclass=true -Djavax.xml.accessExternalSchema=all @@ -400,6 +406,12 @@ -server [9|]--add-opens=java.base/jdk.internal.loader=ALL-UNNAMED [9|]--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED + + [9|]--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED + [9|]--add-opens=java.base/java.lang=ALL-UNNAMED + [9|]--add-opens=java.base/java.nio=ALL-UNNAMED + [9|]--add-opens=java.base/sun.nio.ch=ALL-UNNAMED + [9|]--add-opens=java.management/sun.management=ALL-UNNAMED -Djava.awt.headless=true -Djdk.corba.allowOutputStreamSubclass=true -XX:+UnlockDiagnosticVMOptions diff --git a/appserver/admin/production_domain_template/src/main/resources/config/domain.xml b/appserver/admin/production_domain_template/src/main/resources/config/domain.xml index 3c95383c0a3..b3b711fba8a 100644 --- a/appserver/admin/production_domain_template/src/main/resources/config/domain.xml +++ b/appserver/admin/production_domain_template/src/main/resources/config/domain.xml @@ -178,6 +178,12 @@ [9|]--add-opens=java.base/jdk.internal.loader=ALL-UNNAMED [9|]--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED + + [9|]--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED + [9|]--add-opens=java.base/java.lang=ALL-UNNAMED + [9|]--add-opens=java.base/java.nio=ALL-UNNAMED + [9|]--add-opens=java.base/sun.nio.ch=ALL-UNNAMED + [9|]--add-opens=java.management/sun.management=ALL-UNNAMED -Xmx2g -Xms2g -XX:+UseG1GC @@ -368,6 +374,12 @@ [9|]--add-opens=java.base/jdk.internal.loader=ALL-UNNAMED [9|]--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED + + [9|]--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED + [9|]--add-opens=java.base/java.lang=ALL-UNNAMED + [9|]--add-opens=java.base/java.nio=ALL-UNNAMED + [9|]--add-opens=java.base/sun.nio.ch=ALL-UNNAMED + [9|]--add-opens=java.management/sun.management=ALL-UNNAMED -Xmx2g -Xms2g -XX:+UseG1GC diff --git a/appserver/admin/production_domain_template_web/src/main/resources/config/domain.xml b/appserver/admin/production_domain_template_web/src/main/resources/config/domain.xml index b30fc1e4a37..d087612c041 100644 --- a/appserver/admin/production_domain_template_web/src/main/resources/config/domain.xml +++ b/appserver/admin/production_domain_template_web/src/main/resources/config/domain.xml @@ -200,6 +200,12 @@ [9|]--add-opens=java.base/jdk.internal.loader=ALL-UNNAMED [9|]--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED + + [9|]--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED + [9|]--add-opens=java.base/java.lang=ALL-UNNAMED + [9|]--add-opens=java.base/java.nio=ALL-UNNAMED + [9|]--add-opens=java.base/sun.nio.ch=ALL-UNNAMED + [9|]--add-opens=java.management/sun.management=ALL-UNNAMED -XX:+UseG1GC -XX:+UseStringDeduplication -XX:MetaspaceSize=256m @@ -384,6 +390,12 @@ [9|]--add-opens=java.base/jdk.internal.loader=ALL-UNNAMED [9|]--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED + + [9|]--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED + [9|]--add-opens=java.base/java.lang=ALL-UNNAMED + [9|]--add-opens=java.base/java.nio=ALL-UNNAMED + [9|]--add-opens=java.base/sun.nio.ch=ALL-UNNAMED + [9|]--add-opens=java.management/sun.management=ALL-UNNAMED -XX:+UseG1GC -XX:+UseStringDeduplication -XX:MetaspaceSize=256m