[ 
https://jira.terracotta.org/jira//browse/CDV-285?page=comments#action_21215 ] 
            
Steven Harris commented on CDV-285:
-----------------------------------

this is all related to:

http://forums.terracotta.org/forums/posts/list/267.page

> Auto-locking should not do auto-locking on the clearReferences method added 
> to logical classes.
> -----------------------------------------------------------------------------------------------
>
>                 Key: CDV-285
>                 URL: https://jira.terracotta.org/jira//browse/CDV-285
>             Project: Community Development
>          Issue Type: Bug
>          Components: DSO:L1
>    Affects Versions: trunk-nightly, 2.3-Stable0, 2.3-stable1, 2.3 EE, 2.3
>            Reporter: Steven Harris
>         Assigned To: Antonio Si
>
> 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)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.terracotta.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to