JDK-4874782 : CMS: CL options MaxTenuringThreshold, MaxNewSize and SurvivorRatio are ignored
  • Type: Bug
  • Status: Closed
  • Resolution: Fixed
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P1
  • Affected Version: 1.4.2,1.4.2_03
  • OS: generic,solaris_8
  • CPU: generic,sparc
  • Submit Date: 2003-06-05
  • Updated Date: 2004-09-13
  • Resolved Date: 2003-07-07
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.
Other
1.4.2_05 05Fixed
Related Reports
Relates :  
Description
This bug was introduced as a result of the
setting of default values for the above in CMS
as part of 4804915.


Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.4.2_05 tiger FIXED IN: 1.4.2_05 tiger INTEGRATED IN: 1.4.2_05 tiger tiger-b10 VERIFIED IN: 1.4.2_05
2004-09-17

EVALUATION See suggested fix.
2004-09-17

WORK AROUND None known.
2004-09-17

SUGGESTED FIX The problem was that _is_default_XXX was not being correctly set in the argument processing. This caused the CL option settings for these parameters to be ignored when we used the _is_default_XX test. ------- arguments.cpp ------- 1560a1561,1567 > } else if (match_option(option, "-XX:MaxNewSize", &tail)) { > _is_default_max_new_size = false; > // Back up so we can use normal argument processing > match_option(option, "-XX:", &tail); > if (!process_argument(tail, args->ignoreUnrecognized)) { > return JNI_EINVAL; > } 1571a1579,1592 > if (!process_argument(tail, args->ignoreUnrecognized)) { > return JNI_EINVAL; > } > } else if (match_option(option, "-XX:MaxTenuringThreshold", &tail)) { > _is_default_max_tenuring_threshold = false; > // Back up so we can use normal argument processing > match_option(option, "-XX:", &tail); > if (!process_argument(tail, args->ignoreUnrecognized)) { > return JNI_EINVAL; > } > } else if (match_option(option, "-XX:SurvivorRatio", &tail)) { > _is_default_survivor_ratio = false; > // Back up so we can use normal argument processing > match_option(option, "-XX:", &tail); ###@###.### 2003-06-06: fix putback to [Tiger's] gc_baseline.
2003-06-06