JDK-8009768 : -XX:MaxGCPauseMillis value set in control panel is ignored by javaws
  • Type: Bug
  • Status: Closed
  • Resolution: Fixed
  • Component: deploy
  • Sub-Component: webstart
  • Priority: P4
  • Affected Version: 7u21
  • Submit Date: 2013-03-11
  • Updated Date: 2013-08-09
  • Resolved Date: 2013-04-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u40 b19Fixed 8Resolved
Description
Whatever user sets in control panel, the value of the property is always = 1000 in the JVM runnins java webstart application
Comments
Note that this fix introduces P2 regression (8015443) and this change has been reverted. Also I can't reproduce initial problem with latest JDK8 (secure property in JNLP overrides the same property in JCP). If the issue still exists, please file new bug.
2013-06-03

Not critical for 7u25, target to 7uX.
2013-03-27

Justification for deferral: Not a regression in release. Root cause is value is set differently in two different places, which leads to undefined behavior.
2013-03-25

I've sent new webrev with the following fix: -- if we have 2 args contradicting each other, we need to check if it's secure vm arg. -- if it's secure arg - the arg from .jnlp will override one from control panel. if it's not secure - we will use the arg from control panel.
2013-03-25

I sent a webrev for the fix is that we should check the value of "java-vm-args" (from .jnlp), and if it's null - we try to use value from "runtime parameters" (control panel).
2013-03-19

You already specified vm args in your jnlp file: java-vm-args="-XX:MaxGCPauseMillis=1000". What's the behavior you expect to see? Currently, we always use vm args from .jnlp (even if it's null - I'm not sure it's correct). So, for now it always overwrites vm args that we can add in java console.
2013-03-18