com.tc.object.util.IdentityWeakHashMap

Terracotta Project Issue Tracker | Tim Eck | 9 years ago
  1. 0

    infact i came across a strange issue, where two threads have locked same object.. pls see the below jstack, i got "TP-Processor386" daemon prio=10 tid=0x5de48e20 nid=0x1852 waiting for monitor entry [0x5afba000..0x5afbb570] java.lang.Thread.State: BLOCKED (on object monitor) at com.tc.object.ClientObjectManagerImpl.basicLookup(ClientObjectManagerImpl.java:852) - locked <0x64308d40> (a com.tc.object.util.IdentityWeakHashMap) at com.tc.object.ClientObjectManagerImpl.lookupExistingOrNull(ClientObjectManagerImpl.java:394) at com.tc.object.bytecode.ManagerImpl.lookupExistingOrNull(ManagerImpl.java:641) at com.tc.object.bytecode.ManagerUtil.lookupExistingOrNull(ManagerUtil.java:251) "TP-Processor51" daemon prio=10 tid=0x5d592d70 nid=0x44e4 waiting for monitor entry [0x59b5b000..0x59b5d570] java.lang.Thread.State: BLOCKED (on object monitor) at com.tc.object.ClientObjectManagerImpl.basicLookup(ClientObjectManagerImpl.java:852) - locked <0x64308d40> (a com.tc.object.util.IdentityWeakHashMap) at com.tc.object.ClientObjectManagerImpl.lookupExistingOrNull(ClientObjectManagerImpl.java:394) at com.tc.object.bytecode.ManagerImpl.lookupExistingOrNull(ManagerImpl.java:641) at com.tc.object.bytecode.ManagerUtil.lookupExistingOrNull(ManagerUtil.java:251) while other threads are waiting for this lock "TP-Processor356" daemon prio=10 tid=0x5d3f72f0 nid=0x7c76 waiting for monitor entry [0x57eb9000..0x57ebb4f0] java.lang.Thread.State: BLOCKED (on object monitor) at com.tc.object.ClientObjectManagerImpl.basicLookup(ClientObjectManagerImpl.java:852) - waiting to lock <0x64308d40> (a com.tc.object.util.IdentityWeakHashMap) at com.tc.object.ClientObjectManagerImpl.lookupExistingOrNull(ClientObjectManagerImpl.java:394) at com.tc.object.bytecode.ManagerImpl.lookupExistingOrNull(ManagerImpl.java:641) at com.tc.object.bytecode.ManagerUtil.lookupExistingOrNull(ManagerUtil.java:251) Can you pls look at this, as i feel this is a critical issue.

    Terracotta Project Issue Tracker | 8 years ago | Fiona OShea
    com.tc.object.util.IdentityWeakHashMap

    Root Cause Analysis

    1. com.tc.object.util.IdentityWeakHashMap

      No message provided

      at com.tc.object.ClientObjectManagerImpl.lookupExistingOrNull()
    2. com.tc.object
      ManagerUtil.lookupExistingOrNull
      1. com.tc.object.ClientObjectManagerImpl.lookupExistingOrNull(ClientObjectManagerImpl.java:394)
      2. com.tc.object.bytecode.ManagerImpl.lookupExistingOrNull(ManagerImpl.java:641)
      3. com.tc.object.bytecode.ManagerUtil.lookupExistingOrNull(ManagerUtil.java:251)
      3 frames
    3. Java RT
      ConcurrentHashMap.get
      1. java.util.concurrent.ConcurrentHashMap.__tc_isDsoHashRequired(Unknown Source)
      2. java.util.concurrent.ConcurrentHashMap.get(Unknown Source)
      2 frames