JDK-6285301 : DescriptorSupport.CaseIgnoreString consumes too much memory.
  • Type: Bug
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2005-06-14
  • Updated: 2014-02-27
  • Resolved: 2005-08-17
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 Availability Release.

To download the current JDK release, click here.
Other
5.0u6 b02Fixed
Description
FULL PRODUCT VERSION :
N/A

A DESCRIPTION OF THE PROBLEM :
The RI of javax.management.modelmbean.DescriptorSupport uses an inner class called CaseIgnoreString to ensure that  String comparisons do not use case for the keys.  We make extensive use of thie class in the new WebLogic Server implementation and in recent profiling the class showed up as a substantial user of memory.

I spoke with ###@###.### recently and he noted that this is replaced with a simpler comparator class in the next JDK revision and that the memory footprint is substantially reduced.

BEA requests that this patch be back ported to 1.5...


REPRODUCIBILITY :
This bug can be reproduced always.
###@###.### 2005-06-14 15:31:04 GMT
###@###.### 2005-06-15 09:38:42 GMT

Comments
EVALUATION Relevant changes have already been made in Mustang. Some other changes have also been made in this file but it should be straightforward to retrieve just this from the revision history. ###@###.### 2005-06-14 16:30:02 GMT
14-06-2005