Coherence .NET THROWS SYSTEM.THREADING.LOCKRECURSIONEXCEPTION WITH HIGH CPU

(Doc ID 1516825.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Coherence - Version 3.7.1.5 to 3.7.1.6 [Release AS10g]
Information in this document applies to any platform.

Symptoms

Coherence for .NET is throwing System.Threading.LockRecursionException and utilizing High CPU. Customer recently upgraded their COH server and client dll's from 3.7.1.0 to 3.7.1.5. There were no other client updates. Customer was using .NET 4 version with both 3.7.1.0 and 3.7.1.5. After the upgrade to 3.7.1.5, they observed lot of CPU spikes on Clients and when digged deeper found the stack traces from Coherence.

Exception type: System.Threading.LockRecursionException
 
Message: Write lock may not be acquired with read lock held. This pattern is prone to deadlocks. Please ensure that read locks are released before taking a write lock. If an upgrade is necessary, use an upgrade lock in place of the read lock.
 
InnerException:
 
 StackTrace (generated):



Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms