Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to start application with "-XX:-CMSParallelRemarkEnabled" JVM parameter

 
kkishore kkadiri
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

We are using CMS GC collector in application which is build on JDK1.6_26 version with the following set of JVM parameters:

[-J-server -J-d64 -Xms5g -Xmx5g -J-noclassgc -J-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:NewSize=1536m -XX:MaxGCPauseMillis=2000 -XX:+CMSClassUnloadingEnabled -XX:+PrintTenuringDistribution -XX:CMSInitiatingOccupancyFraction=40 -Xloggc:log/details.pipe -XX:+PrintHeapAtGC -Dmail.smtp.auth=true -XX:NewRatio=3 -XX:CMSMaxAbortablePrecleanTime=15 -XX:+CMSScavengeBeforeRemark -XX:TargetSurvivorRatio=70 -XX:+UseCMSInitiatingOccupancyOnly -XX:MaxTenuringThreshold=8 -XX:ConcGCThreads=1 -XX:-CMSParallelRemarkEnabled]

However when we start application, following error message is thrown:

unknown argument '-CMSParallelRemarkEnabled'


The same flag is mentioned as a workaround in the following java bug:
http://bugs.sun.com/view_bug.do?bug_id=6558100

and the same flag is mentioned multiple times in the following articles
http://docs.oracle.com/cd/E19462-01/819-4673/gbpxz/index.html (section: JVM Tuning Parameters)

Please suggest on how to add this flag with out any error message?

Thanks a lot,
Kishore Kadiri
 
kkishore kkadiri
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Did anyone experience similar issue? any inputs and suggestions for resolving this issue is much appreciated.
 
kkishore kkadiri
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Same behavior is observed for “-XX:-CMSPermGenPrecleaningEnabled" JVM CMS gc option, any help on this is much appreciated.
 
fred rosenberger
lowercase baba
Bartender
Pie
Posts: 12098
30
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is it possible your jvm simply doesn't support these options?

I'm not sure where you are supposed to see this, but I do know that when you do "java -X" it says "The -X options are non-standard and subject to change without notice."

Perhaps this option was one of those and has gone away?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic