summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util/locks
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-10-29 04:11:13 +0200
committerSven Gothel <[email protected]>2010-10-29 04:11:13 +0200
commitc7c61c8d4032afc74932ebb755a7d8567300f223 (patch)
tree895f0b18111d4ff003e10cce64560a9aaab26b87 /src/java/com/jogamp/common/util/locks
parent1618adf71b6510dd35c1aef3b1b280831d4b4c97 (diff)
RecursiveLock: TRACE_LOCK: StackTrace -> err.println
Diffstat (limited to 'src/java/com/jogamp/common/util/locks')
-rw-r--r--src/java/com/jogamp/common/util/locks/RecursiveLock.java6
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;