-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
java-default-options script, which is sourced during the eap container launch procedure, echoes the jvm defaults which are of different values to EAP ones.
This might be confusing to the users and may fool the tests which make assertions on container logs (e.g. https://github.com/jboss-container-images/jboss-eap-modules/blob/master/tests/features/7/gc.feature).
Out of box EAP image log - see the different values for -XX:MaxMetaspaceSize
INFO Running jboss-eap-7/eap72-openshift image, version 1.0 -XX:+UseParallelOldGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MaxMetaspaceSize=100m -XX:ParallelGCThreads=2 -Djava.util.concurrent.ForkJoinPool.common.parallelism=2 -XX:CICompilerCount=2 -XX:+ExitOnOutOfMemoryError ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /opt/eap JAVA: /usr/lib/jvm/java-1.8.0/bin/java JAVA_OPTS: -server -verbose:gc -Xloggc:/opt/eap/standalone/log/gc.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -Xms1303m -Xmx1303m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m ...
This is an UX issue, not a functional one as the correct value is used.
- clones
-
CLOUD-3440 [CD19] -XX:MaxMetaspaceSize is echoed with non EAP defaults
- Verified
- is incorporated by
-
CLOUD-3440 [CD19] -XX:MaxMetaspaceSize is echoed with non EAP defaults
- Verified