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

Deadlock in the classloader loading, with out circular locking

    Details

    • Subcomponent:
    • Resolved In Build:
      03
    • CPU:
      generic, x86
    • OS:
      generic, solaris_1

      Backports

        Description




        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: =============================
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: "Thread-14":
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: waiting to lock monitor 0x8140d0 (object 0x5ff840a0, a com.sun.enterprise.util.ConnectorClassLoader),
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: which is held by "Thread-8"
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: "Thread-8":
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: waiting to lock monitor 0x2a6348 (object 0x60147820, a com.iplanet.ias.loader.EJBClassLoader),
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: which is held by "Thread-14"
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: Java stack information for the threads listed above:
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: ===================================================
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: "Thread-14":
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: - waiting to lock <5ff840a0> (a com.sun.enterprise.util.ConnectorClassLoader)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: - locked <60147820> (a com.iplanet.ias.loader.EJBClassLoader)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl$StreamFactory.run(ValueHandlerImpl.java:784)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at java.security.AccessController.doPrivileged(Native Method)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.createInputStream(ValueHandlerImpl.java:748)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:196)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_value(Unknown Source)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDRInputStream.read_value(Unknown Source)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at org.omg.stub.com.sun.ecperf.orders.cartses.ejb._CartSesEJB_EJBObjectImpl_Tie._invoke(Unknown Source)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Unknown Source)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Unknown Source)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(Unknown Source)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.ORB.process(Unknown Source)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.RequestProcessor.process(Unknown Source)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Unknown Source)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(Unknown Source)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at java.lang.Thread.run(Thread.java:536)





        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: "Thread-8":
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: - waiting to lock <60147820> (a com.iplanet.ias.loader.EJBClassLoader)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl$StreamFactory.run(ValueHandlerImpl.java:784)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at java.security.AccessController.doPrivileged(Native Method)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.createInputStream(ValueHandlerImpl.java:748)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:196)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_value(Unknown Source)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDRInputStream.read_value(Unknown Source)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at org.omg.stub.com.sun.ecperf.orders.orderses.ejb._OrderSesEJB_EJBObjectImpl_Tie._invoke(Unknown Source)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Unknown Source)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Unknown Source)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(Unknown Source)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.ORB.process(Unknown Source)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.RequestProcessor.process(Unknown Source)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Unknown Source)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(Unknown Source)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: at java.lang.Thread.run(Thread.java:536)
        [21/Aug/2002:09:57:33] WARNING ( 8313): CORE3283: stderr: Found 1 deadlock.


        Both threads are executing the same funtion, where as thread 8, acquired ConnectorClassLoader instead of EJBClassLoader. Thread 8 is not holding any lock. This behavior is seen with JDK 1.4.02, but not with JDK 1.4.01.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  myangsunw Mingyao Yang (Inactive)
                  Reporter:
                  duke J. Duke (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: