summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/jogamp/common/util')
-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;