diff options
author | Sven Gothel <[email protected]> | 2010-10-07 05:22:39 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-10-07 05:22:39 +0200 |
commit | c8a9c59e4838cd43090378a7ed60544449472801 (patch) | |
tree | c17b1b9b8f6aea4a491ef6085be7c9910f057c5c /make/scripts/java-run-all.sh | |
parent | 018c7e8660dc0af68bd129be9af5094d04d0b431 (diff) |
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
Diffstat (limited to 'make/scripts/java-run-all.sh')
-rwxr-xr-x | make/scripts/java-run-all.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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" |