From d570fa74d4fd22459aa1579749a7705949a2a748 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 18 Mar 2012 16:33:07 +0100 Subject: Reduce Thread.dumpStack() in debug mode where no negative behavior appears or a stack trace may be helpful. --- .../classes/javax/media/nativewindow/NativeWindowFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nativewindow/classes/javax') diff --git a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java index 16a4ecfe5..ca84901cb 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java +++ b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java @@ -451,7 +451,7 @@ public abstract class NativeWindowFactory { try { if(DEBUG) { System.err.println("NativeWindowFactory.createX11AWTToolkitLock(0x"+Long.toHexString(deviceHandle)+")"); - Thread.dumpStack(); + // Thread.dumpStack(); } return (ToolkitLock) x11JAWTToolkitLockConstructor.newInstance(new Object[]{new Long(deviceHandle)}); } catch (Exception ex) { -- cgit v1.2.3