-
Bug
-
Resolution: Fixed
-
P2
-
1.4.1
-
None
-
04
-
sparc
-
solaris_9
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2072959 | 5.0 | Tao Ma | P2 | Closed | Fixed | b31 |
Customer Problem Description:
-------------------------------
Given the structure:
int iters = 100000;
HashMap h = new HashMap();
for (int i=0; i<iters; i++) {
h.put(new String("Hello" + i), "Hi there" + i);
}
- Serialization of this under java.io takes 1.3s
- Serialization of this using the WLS ORB (with some fixes) takes 6.7s to
marshal and 2.3s to unmarshal. Since we use the JDK valuehandler in our ORB it doesn't seem that this can be a valuehandler problem but something more fundamental.
- However serialization with the JDK 1.4.1_03 ORB takes 238s to marshal and
an unbelievable 1600s to unmarshal.
Attached is a testcase. Please uncomment the lines for ORB and comment
it for java_io while testing the scenario with ORB.
-------------------------------
Given the structure:
int iters = 100000;
HashMap h = new HashMap();
for (int i=0; i<iters; i++) {
h.put(new String("Hello" + i), "Hi there" + i);
}
- Serialization of this under java.io takes 1.3s
- Serialization of this using the WLS ORB (with some fixes) takes 6.7s to
marshal and 2.3s to unmarshal. Since we use the JDK valuehandler in our ORB it doesn't seem that this can be a valuehandler problem but something more fundamental.
- However serialization with the JDK 1.4.1_03 ORB takes 238s to marshal and
an unbelievable 1600s to unmarshal.
Attached is a testcase. Please uncomment the lines for ORB and comment
it for java_io while testing the scenario with ORB.
- backported by
-
JDK-2072959 IIOP serialization is slow for large objects
- Closed
-
JDK-2072960 IIOP serialization is slow for large objects
- Closed
-
JDK-2072961 IIOP serialization is slow for large objects
- Closed
- relates to
-
JDK-4965555 Regression-cte CTE_REGTEST/Generic/4901731/encoder.java fails
- Closed