-
Enhancement
-
Resolution: Fixed
-
P2
-
6, 6u20
-
b02
-
generic, x86
-
generic, windows_xp
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2198410 | 7 | Dennis Gu | P2 | Closed | Fixed | b115 |
As customers are beginning to create and deploy huge 64 bit client (GUI)
based applications via Java Webstart (jnlp), the demand for GC tuning on the
client side increases.
Unfortunately there is currently only a very limited set of GC options
available in the list of supported java-vm-args:
http://java.sun.com/javase/6/docs/technotes/guides/javaws/developersguide/syntax.html
Anything not listed is being ignored silently.
It is understood that any option can be used if the application is fully trusted,
which means, also the jnlp file has to be signed. However, many customers create
and customize jnlp files on the fly. So they cannot easily use this approach.
The RFE is to increase the list of supported options starting with the following:
Prio 1:
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
-XX:+TraceClassUnloading
-XX:+PrintHeapAtGC
-XX:PrintCMSStatistics
-XX:+PrintTenuringDistribution
-XX:SurvivorRatio
-XX:MaxTenuringThreshol
-XX:CMSMarkStackSize
-XX:CMSMarkStackSizeMax
-XX:+UseConcMarkSweepGC
-XX:+CMSClassUnloadingEnabled
-XX:+CMSIncrementalMode
-XX:CMSIncrementalDutyCycleMin
-XX:+CMSIncrementalPacing
-XX:-ParallelRefProcEnabled
-XX:ParallelGCThreads
-XX:ParallelCMSThreads
-XX:+CMSClassUnloadingEnabled
-XX:CMSInitiatingOccupancyFraction
-XX:+DisableExplicitGC
-XX:+UseCompressedOops
Prio 2:
-XX:+UseG1GC
-XX:GCPauseIntervalMillis
-XX:MaxGCPauseMillis
also need :sun.lang.ClassLoader.allowArraySyntax=true
(closing this seperate bug as a dupe)
Also add support for
-Dsun.lang.ClassLoader.allowArraySyntax=true
(This property is needed to woraround for the bug 6434149 for JAVA 1.6 )
See see also bugs for more details.
based applications via Java Webstart (jnlp), the demand for GC tuning on the
client side increases.
Unfortunately there is currently only a very limited set of GC options
available in the list of supported java-vm-args:
http://java.sun.com/javase/6/docs/technotes/guides/javaws/developersguide/syntax.html
Anything not listed is being ignored silently.
It is understood that any option can be used if the application is fully trusted,
which means, also the jnlp file has to be signed. However, many customers create
and customize jnlp files on the fly. So they cannot easily use this approach.
The RFE is to increase the list of supported options starting with the following:
Prio 1:
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
-XX:+TraceClassUnloading
-XX:+PrintHeapAtGC
-XX:PrintCMSStatistics
-XX:+PrintTenuringDistribution
-XX:SurvivorRatio
-XX:MaxTenuringThreshol
-XX:CMSMarkStackSize
-XX:CMSMarkStackSizeMax
-XX:+UseConcMarkSweepGC
-XX:+CMSClassUnloadingEnabled
-XX:+CMSIncrementalMode
-XX:CMSIncrementalDutyCycleMin
-XX:+CMSIncrementalPacing
-XX:-ParallelRefProcEnabled
-XX:ParallelGCThreads
-XX:ParallelCMSThreads
-XX:+CMSClassUnloadingEnabled
-XX:CMSInitiatingOccupancyFraction
-XX:+DisableExplicitGC
-XX:+UseCompressedOops
Prio 2:
-XX:+UseG1GC
-XX:GCPauseIntervalMillis
-XX:MaxGCPauseMillis
also need :sun.lang.ClassLoader.allowArraySyntax=true
(closing this seperate bug as a dupe)
Also add support for
-Dsun.lang.ClassLoader.allowArraySyntax=true
(This property is needed to woraround for the bug 6434149 for JAVA 1.6 )
See see also bugs for more details.
- backported by
-
JDK-2198410 Please add more options to the list of secure jnlp properties
- Closed
- duplicates
-
JDK-6812887 Problems sun.lang.ClassLoader.allowArraySyntax=true not supprted by Webstart
- Closed
-
JDK-6709916 Add property sun.lang.ClassLoader.allowArraySyntax=true to the list of secure porperties
- Closed
- relates to
-
JDK-7024585 enhance the list of secure jnlp vm-args for plugin and web start
- Resolved