-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b66
-
b03
-
generic, x86
-
generic, windows_xp
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2212627 | 8 | Sergey Malenkov | P3 | Resolved | Fixed | b17 |
SYNOPSIS
---------
Performance degradation with java.beans.XMLEncoder
OPERATING SYSTEM
----------------
All
FULL JDK VERSION
----------------
JDK 7 (tested with b146)
Performance first regressed in either JDK 7 b65 or JDK 7 b66.
Degradation became worse in b71 or b72.
For JDK 6, became slightly worse in 6u25. Not reproducible in 6u24.
REPRODUCTION INSTRUCTIONS
-------------------------
1. Compile the two attached Java classes.
2. Run "java JavaBeanXmlEncoder"
Comparison of results from 7b64, 7b66, and 7b72:
---- 7b64 ----
Encoding to a file .....
Total Time taken for Encoding as XML = 1032 in Millsecond
-------------
---- 7b66 ----
Encoding to a file .....
Total Time taken for Encoding as XML = 6141 in Millsecond
-------------
---- 7b72 ----
Encoding to a file .....
Total Time taken for Encoding as XML = 7954 in Millsecond
-------------
TESTCASE
--------
See attachments.
---------
Performance degradation with java.beans.XMLEncoder
OPERATING SYSTEM
----------------
All
FULL JDK VERSION
----------------
JDK 7 (tested with b146)
Performance first regressed in either JDK 7 b65 or JDK 7 b66.
Degradation became worse in b71 or b72.
For JDK 6, became slightly worse in 6u25. Not reproducible in 6u24.
REPRODUCTION INSTRUCTIONS
-------------------------
1. Compile the two attached Java classes.
2. Run "java JavaBeanXmlEncoder"
Comparison of results from 7b64, 7b66, and 7b72:
---- 7b64 ----
Encoding to a file .....
Total Time taken for Encoding as XML = 1032 in Millsecond
-------------
---- 7b66 ----
Encoding to a file .....
Total Time taken for Encoding as XML = 6141 in Millsecond
-------------
---- 7b72 ----
Encoding to a file .....
Total Time taken for Encoding as XML = 7954 in Millsecond
-------------
TESTCASE
--------
See attachments.
- backported by
-
JDK-2212627 Regression: Performance degradation with java.beans.XMLEncoder
- Resolved
- duplicates
-
JDK-7075474 XMLEncoder take 7 times longer to encode an Object
- Closed
- relates to
-
JDK-6380849 RFE: Automatic discovery of PersistanceDelegates
- Closed