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

Corba IDL JDK 1.6 multithreading

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      FULL PRODUCT VERSION :
      jdk 1.6

      ADDITIONAL OS VERSION INFORMATION :
      Windows XP

      A DESCRIPTION OF THE PROBLEM :
      The Java 6 SE IDL ORB is single-threaded with respect to multi-threaded client request socket handling. An error in one request delays all subsequent requests until it is resolved. This behavior is different that the Java 1.4 ORB and is unacceptable for our product which is HA (high availability), requires concurrent process to process requests, and cannot tolerate delays due to interactions between requests.
      code: Application code is not relevant. There is synchronization in the Java 6 code, which does not exist in the Java 1.4 code.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Attached the test case and readme.

      The setup contain 2 Corba Server instance and one Client .
      java Client connect to these server and run smoothly under 1.4.2 without any performance issue even if one instance of server is dead.
      The client starts 10 thread ,all even threads connect to one server instance and all odd thread connect to other instance .
      Even if one instance of the server is dead ,only 5 threads will fail ,but other threads work smoothly .

      Now when we run the client with one instance of Server running under 1.6
      the faliure of the five threads really effect the other threads.
      Other threads wait till the faild thread return.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The program should behave in the same way on 1.6 and 1.4.2 .
      ACTUAL -
      Performance is degraded

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      Attached the test case
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      NOt available

      Release Regression From : 1.4
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

      Release Regression From : 1.4.2
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: