summaryrefslogtreecommitdiffstats
path: root/src/nativewindow
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-03-18 16:33:07 +0100
committerSven Gothel <[email protected]>2012-03-18 16:33:07 +0100
commitd570fa74d4fd22459aa1579749a7705949a2a748 (patch)
tree6e535ce86c531c36af3806789f778489e7c7a3dd /src/nativewindow
parent4c5d6c1b5570fe1ba2cfbbed46259f0a21534ff5 (diff)
Reduce Thread.dumpStack() in debug mode where no negative behavior appears or a stack trace may be helpful.
Diffstat (limited to 'src/nativewindow')
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java2
-rw-r--r--src/nativewindow/classes/jogamp/nativewindow/x11/X11GraphicsConfigurationFactory.java1
2 files changed, 1 insertions, 2 deletions
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) {
diff --git a/src/nativewindow/classes/jogamp/nativewindow/x11/X11GraphicsConfigurationFactory.java b/src/nativewindow/classes/jogamp/nativewindow/x11/X11GraphicsConfigurationFactory.java
index d798e975c..070f87216 100644
--- a/src/nativewindow/classes/jogamp/nativewindow/x11/X11GraphicsConfigurationFactory.java
+++ b/src/nativewindow/classes/jogamp/nativewindow/x11/X11GraphicsConfigurationFactory.java
@@ -61,7 +61,6 @@ public class X11GraphicsConfigurationFactory extends GraphicsConfigurationFactor
AbstractGraphicsConfiguration res = new X11GraphicsConfiguration((X11GraphicsScreen)screen, x11CapsChosen, capsRequested, x11CapsChosen.getXVisualInfo());
if(DEBUG) {
System.err.println("X11GraphicsConfigurationFactory.chooseGraphicsConfigurationImpl("+screen+","+capsChosen+"): "+res);
- Thread.dumpStack();
}
return res;
}