diff options
author | Sven Gothel <[email protected]> | 2010-10-29 04:11:13 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-10-29 04:11:13 +0200 |
commit | c7c61c8d4032afc74932ebb755a7d8567300f223 (patch) | |
tree | 895f0b18111d4ff003e10cce64560a9aaab26b87 /src/java | |
parent | 1618adf71b6510dd35c1aef3b1b280831d4b4c97 (diff) |
RecursiveLock: TRACE_LOCK: StackTrace -> err.println
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/com/jogamp/common/util/locks/RecursiveLock.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/java/com/jogamp/common/util/locks/RecursiveLock.java b/src/java/com/jogamp/common/util/locks/RecursiveLock.java index 010467b..de61451 100644 --- a/src/java/com/jogamp/common/util/locks/RecursiveLock.java +++ b/src/java/com/jogamp/common/util/locks/RecursiveLock.java @@ -131,8 +131,10 @@ public class RecursiveLock implements LockExt { synchronized(sdata) { Thread cur = Thread.currentThread(); if(TRACE_LOCK) { - Throwable tt = new Throwable("LOCK 0 ["+this+"], recursions "+sdata.recursionCount+", cur "+cur+", owner "+sdata.owner); - tt.printStackTrace(); + String msg = "LOCK 0 ["+this+"], recursions "+sdata.recursionCount+", cur "+cur+", owner "+sdata.owner; + System.err.println(msg); + //Throwable tt = new Throwable(msg); + //tt.printStackTrace(); } if (sdata.owner == cur) { ++sdata.recursionCount; |