Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4901731

IIOP serialization is slow for large objects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.2
    • 1.4.1
    • other-libs
    • None
    • 04
    • sparc
    • solaris_9
    • Verified

        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.

              tmasunw Tao Ma (Inactive)
              cprasadsunw Ck Prasad (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: