CDV ❯ Auto-locking should not do auto-locking on the clearReferences method added to logical classes.
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
DSO:L1
-
-
hhuynh
-
Reporter: steve
-
June 04, 2007
-
0
-
Watchers: 0
-
June 11, 2007
-
June 05, 2007
Description
Also, we should rename clearReferences to something with the terracotta prefix so that we don’t conflict with user space method names (unlikely but possible).
TC Memory Monitor” daemon prio=1 tid=0x087cf6e0 nid=0x3213 in Object.wait() [0x50767000..0x50767878] at java.lang.Object.wait(Native Method) - waiting on <0x47e6dcd8> (a java.lang.Object) at java.lang.Object.wait(Object.java:429) at com.tc.object.lockmanager.impl.ClientLock.waitForLock(ClientLock.java:505) - locked <0x47e6dcd8> (a java.lang.Object) at com.tc.object.lockmanager.impl.ClientLock.basicLock(ClientLock.java:168) at com.tc.object.lockmanager.impl.ClientLock.lock(ClientLock.java:88) at com.tc.object.lockmanager.impl.ClientLock.lock(ClientLock.java:78) at com.tc.object.lockmanager.impl.ClientLockManagerImpl.lock(ClientLockManagerImpl.java:221) at com.tc.object.lockmanager.impl.ThreadLockManagerImpl.lock(ThreadLockManagerImpl.java:46) at com.tc.object.tx.ClientTransactionManagerImpl.begin(ClientTransactionManagerImpl.java:170) at com.tc.object.bytecode.ManagerImpl.begin(ManagerImpl.java:308) at com.tc.object.bytecode.ManagerImpl.monitorEnter(ManagerImpl.java:445) at com.tc.object.bytecode.ManagerUtil.monitorEnter(ManagerUtil.java:208) at java.util.Hashtable.clearReferences(Hashtable.java) at com.tc.object.TCObjectLogical.clearReferences(TCObjectLogical.java:33) at com.tc.object.TCObjectImpl.clearReferences(TCObjectImpl.java:207) - locked <0x464ca4c0> (a com.tc.object.ObjectID) at com.tc.object.ClientObjectManagerImpl.evictCache(ClientObjectManagerImpl.java:1063) at com.tc.object.cache.CacheManager.memoryUsed(CacheManager.java:43) at com.tc.runtime.TCMemoryManagerImpl.fireMemoryEvent(TCMemoryManagerImpl.java:97) - locked <0x454f2340> (a com.tc.runtime.TCMemoryManagerImpl) at com.tc.runtime.TCMemoryManagerImpl.access$500(TCMemoryManagerImpl.java:15) at com.tc.runtime.TCMemoryManagerImpl$MemoryMonitor.fire(TCMemoryManagerImpl.java:190) at com.tc.runtime.TCMemoryManagerImpl$MemoryMonitor.reportUsage(TCMemoryManagerImpl.java:177) at com.tc.runtime.TCMemoryManagerImpl$MemoryMonitor.run(TCMemoryManagerImpl.java:132)
Comments
Steve Harris 2007-06-04
Antonio Si 2007-06-05
Add new test HashtableAutoLockTest
this is all related to:
http://forums.terracotta.org/forums/posts/list/267.page