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

JVM hangs with multithread C++ programs using JNI

XMLWordPrintable

    • sparc
    • solaris_2.6

      The customer has developed a multithread C++ program that uses JNI. This program manages telephone calls.

      If the system receives several calls the process hangs. Running truss on the process it is possible to see Continuous stream of ETIME messages:

      lwp_cond_wait(0xEF710E28, 0xEF710E38, 0xEE0C1A90) Err#62 ETIME
      lwp_cond_wait(0xEF710E28, 0xEF710E38, 0xEE0C1A90) Err#62 ETIME
      lwp_cond_wait(0xEF710E28, 0xEF710E38, 0xEE0C1A90) Err#62 ETIME
      lwp_cond_wait(0xEF710E28, 0xEF710E38, 0xEE0C1A90) Err#62 ETIME
      lwp_cond_wait(0xEF710E28, 0xEF710E38, 0xEE0C1A90) Err#62 ETIME
      lwp_cond_wait(0xEF710E28, 0xEF710E38, 0xEE0C1A90) Err#62 ETIME
      ...

      They have tested the program with the following jdk releases
      and ut produces the same error: 1.2.2_05, 1.2.2_06, 1.2.2_07

      The jdk 1.2.1_03 works, so they are using it as a workaround.

            mearagolsunw Murali Earagolla (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: