EVALUATION
From Jane,
I just duplicated what you saw with 1.4.1 VM and 1.4.0 libraries
(finally set myself up with that combo):
isher 64 =>java -XXaltjvm=c1-1.4.1 -version
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.1-rc-b19, mixed mode)
isher 65 =>java -XXaltjvm=c1-1.4.1 -verbose:gc JDK141Leak
about to start parsing...
[GC 2047K->338K(3520K), 0.0285096 secs]
[GC 2386K->391K(3520K), 0.0071823 secs]
[GC 2439K->433K(3520K), 0.0052143 secs]
[GC 2481K->488K(3520K), 0.0036402 secs]
Got 174 properties
Used 3520K
So I'd suspect the libraries off the top of my head:
1.4.1 libraries + 1.4.1 VM bad behavior
1.4.0 libraries + 1.4.0 VM good
1.4.0 libraries + 1.4.1 VM good
==============================================================
No parser changes were made between JDK 1.4.0 and 1.4.1 so it cannot be
a problem with the parser code, ie. JAXP. Also, I tried to understand what the code does. Can you provide a simpler test case that parses an XML file?
For help on using JAXP, see http://xml.apache.org/~edwingo/jaxp-faq.html. Ultimately, this bug needs to be filed under a different category.
###@###.### 2002-08-14
========================================================
Submitter provided more info which points to StringBuffer class.
###@###.### 2002-08-21
=========================================================
This is a result of the decision to remove the fix for 4224987
in Hopper, which was done under bug number 4524848.
###@###.### 2002-08-22
The old fix cannot be reinstated because it changes the backing array size in circumstances in which it shouldn't (as well as sometimes when it is desired). Other fixes have been considered but rejected because of performance impact. This will be fixed in Tiger by the removal of String/StringBuffer sharing.
###@###.### 2002-12-05
We have restored the 1.3-1.4 setLength(0) behavior in Mantis as a bridge to the more correct fixes available in Tiger.
###@###.### 2003-04-17
|