Sheshraj Shinde Posted June 14, 2021 Share Posted June 14, 2021 I am trying to useshenandoah gc in Tibco BW 5.13.1. When i am passing parameters in "java.extended.properties" property as: -Xloggc:gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=2M -Djava.security.egd=file:/dev/./urandom -Xincgc -XX:+UseShenandoahGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled I am getting different parameters, and GC Shenandoah is not reflecting in GC logs. Below are the logs from gc.log file: Java HotSpot 64-Bit Server VM (25.162-b12) for windows-amd64 JRE (1.8.0_162-b12), built on Dec 19 2017 20:00:03 by "java_re" with MS VC++ 10.0 (VS2010) Memory: 4k page, physical 16657920k(7341420k free), swap 20269664k(4897964k free) CommandLine flags: -XX:+CMSClassUnloadingEnabled -XX:+CMSIncrementalMode -XX:GCLogFileSize=2097152 -XX:InitialHeapSize=266526720 -XX:MaxHeapSize=2147483648 -XX:MaxNewSize=348966912 -XX:MaxTenuringThreshold=6 -XX:NumberOfGCLogFiles=5 -XX:OldPLABSize=16 -XX:+PrintGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseGCLogFileRotation -XX:-UseLargePagesIndividualAllocation -XX:+UseParNewGC 3.158: [GC (Allocation Failure) 3.158: [ParNew: 69952K->5810K(78656K), 0.0079252 secs] 69952K->5810K(253440K), 0.0083115 secs] [Times: user=0.00 sys=0.00, real=0.01 secs] 5.175: [GC (Allocation Failure) 5.175: [ParNew: 75762K->5757K(78656K), 0.0196788 secs] 75762K->9514K(253440K), 0.0198884 secs] [Times: user=0.06 sys=0.00, real=0.02 secs] Link to comment Share on other sites More sharing options...
Emmanuel Marchiset 2 Posted June 17, 2021 Share Posted June 17, 2021 TIBCO BW 5.13.1 comes with an ORACLE Java 8 JVM that apparently doesn't support Shenandoah GC. https://blogs.oracle.com/javamagazine/understanding-the-jdks-new-superfa... You can use G1GC instead : https://emarchiset.medium.com/how-to-ensure-stable-response-times-in-bus... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now