-
Bug
-
Resolution: Done
-
Blocker
-
None
Wrong JAVA_OPTS propagation, wrong PowerShell GC logging
Merging of PR3496 introduces:
- new blocker regression
- Wrong JAVA_OPTS propagation on JDK8 (regression) and on JDK11
- Default JAVA_OPTS, like max heap size (xmx), xms, etc. are not propagated to JVM on bat scripts
- set "GC_LOG=true"
- standalone.bat
- ->
=============================================================================== JBoss Bootstrap Environment JBOSS_HOME: "C:\Users\Administrator\playground\wfly.30.gc\wildfly" JAVA: "C:\Program Files\Java\jdk1.8.0_121\bin\java" JAVA_OPTS: ""-Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman" -Xloggc:"C:\Users\Administrator\playground\wfly.30.gc\wildfly\standalone\log\gc.log" -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading " ===============================================================================
- it looks like some quotation bug
- according to the jconsole - max heap size (Xmx) is not set correctly (~1.8GB), according to the cli - program.name is not set correctly (program.name = "standalone.bat -Xms64M -Xmx512M -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman")
- Wrong JAVA_OPTS propagation on JDK8 (regression) and on JDK11
- new blocker bug
- inconsistent logging
- "standalone.bat + jdk11 + gc enabled" creates:
- standalone\log\gc.log
- standalone\log\gc.log.0
- "standalone.ps1 + jdk11 + gc enabled" creates:
- * standalone\log\gc.log
- "standalone.bat + jdk11 + gc enabled" creates:
- inconsistent logging
Target release of this jira should be WF15
- is cloned by
-
WFCORE-4147 (WF15) Wrong JAVA_OPTS propagation, wrong PowerShell GC logging
- Resolved
- relates to
-
WFCORE-3996 GC logging is not working on Java 9
- Resolved
-
WFCORE-4115 JDK11 - GC logging format needs to be reviewed
- Resolved
-
JBEAP-14476 GC logging is not working on Java 9+
- Closed