From c8a9c59e4838cd43090378a7ed60544449472801 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 7 Oct 2010 05:22:39 +0200 Subject: Fix: NativeWindow RecursiveToolkitLock, GLWindow lockSurface/unlockSurface Fix: NativeWindow RecursiveToolkitLock - Use notify(), instead of notifyAll(), so only one thread is being awakened for the single resource. Otherwise starvation and timeout happen, since the oldest thread might not get waken up (earlier than other threads) within timeout. - Inner class for all synchronized (flow/mem) fields for easier fine grained sync/lock. Fix: GLWindow lockSurface/unlockSurface - Enter locked surface block only if surface lock could be acquired --- make/scripts/java-run-all.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'make/scripts/java-run-all.sh') diff --git a/make/scripts/java-run-all.sh b/make/scripts/java-run-all.sh index 2b3fc21e7..6bb053a16 100755 --- a/make/scripts/java-run-all.sh +++ b/make/scripts/java-run-all.sh @@ -48,6 +48,7 @@ uname -a | grep -i Darwin && MOSX=1 # D_ARGS="-Dnewt.debug.EDT -Dnewt.debug.Window" # D_ARGS="-Dsun.awt.disableMixing=true -Dnewt.debug.EDT" D_ARGS="-Dnewt.debug.EDT" +# D_ARGS="-Dnativewindow.debug.TraceLock" # D_ARGS="-Dnewt.debug.Display" # D_ARGS="-Djogl.debug.Animator -Dnewt.debug.Window -Dnewt.debug.Display" # D_ARGS="-Dnewt.debug.Window -Dnewt.debug.Display -Dnewt.test.Window.reparent.incompatible=true" -- cgit v1.2.3