For my application we have recently upgraded to java 1.8 from 1.7 and as per the performance test results we checked that CPU utilization is a big issue and it has increased by 71% !!
I'm using this below jvm arguments with jdk8:
-XX:-OptimizeStringConcat -XX:SurvivorRatio=6 -XX:+UseG1GC -XX:-UseGCOverheadLimit
Apart from all these the most import thing which I'm very confused is what is the MaxMetaSpaceSize we should choose now .
For Jdk1.7 I was using :
-Xms480M -Xmx480M -XX:MaxPermSize=192M
Kept everything same in jdk1.8 only changed the MaxPermSize to MaxMetaSpaceSize :
-Xms480M -Xmx480M -XX:MaxMetaspaceSize=192M
Please let me know how can I improve the performance of my application . is there anything that I'm missing - since jdk8 is using native memory area , therefore
- inceasing the space on the server help or not .
- I kept the value of MaxMetaspaceSize same as that of earlier - how can i decide on this value on this new architecture.