Commit
cf9b31c30de3768447b20d6aa31ec1df00595871
by Sven Gothel Bug 1211 TestBug1211IRQ00NEWT: Cover whole JOGL initialization by MyThread, intercepting all interrupt() calls used. This disclosed issue Bug 1213 , "RecursiveThreadGroupLockImpl01Unfairish.unlock() always interrupts original-owner, even if not waiting at unlock()". So far no InterruptedException nor interrupt() call has been detected by MyThread. The file was modified src/test/com/jogamp/opengl/test/junit/newt/TestBug1211IRQ00NEWT.java (diff)
Commit
68c8e39fa8d6e700f0a99241c1a01a435b7f6284
by Sven Gothel Bug 1211 : Hardening Condition-Wait from Spurious-Wakeups and unintended InterruptedException(s) Below is an updated list of Condition-Wait classifications as described in Bug 1211 . This list includes recent changes on GlueGen regarding this Bug 1211 . A followup commit will address the unit tests. - Noncancelable + Persistent-Wait - GLMediaPlayerImpl.StreamWorker thread (changed) - pauses thread in case of intr - Cancelable + Persistent-Wait: - LFRingbuffer.getImpl(..) - LFRingbuffer.waitForFreeSlots(int) - SyncedRingbuffer.getImpl(..) - SyncedRingbuffer.waitForFreeSlots(int) - FunctionTask.invokeOnNewThread(..) (changed) - RunnableTask.invokeOnNewThread(..) (changed) - SharedResourceRunner.run() - SharedResourceRunner.doAndWait() (changed) - SharedResourceRunner.start() (changed) - SharedResourceRunner.stop() (changed) - GLMediaPlayerImpl.StreamWorker ctor (changed) - GLMediaPlayerImpl caller thread actions do*() (changed) - AndroidGLMediaPlayerAPI14.getNextTextureImpl(..) (changed) - DisplayImpl.enqueueEvent(..) (changed) -> Persistent-Wait -> Cancels wait and NEWTEvent -> dispatchMessage(NEWTEventTask): always notifyCaller! - GLDrawableHelper.invoke(..) (changed) - DefaultEDTUtil.waitUntilIdle() (changed) - DefaultEDTUtil.waitUntilStopped() (changed) - DefaultEDTUtil.invokeImpl(..) (changed) - DefaultEDTUtil.NEDT.run(..) (changed) - AWTEDTUtil.waitUntilStopped(..) (changed) - AWTEDTUtil.invokeImpl(..) (changed) - AWTEDTUtil.NEDT.run(..) (changed) - SWTEDTUtil.invokeImpl(..) (changed) - SWTEDTUtil.waitUntilStopped(..) (changed) - SWTEDTUtil.NEDT.run(..) (changed) - GLWorkerThread.invokeAndWait(..) - GLWorkerThread.start() (changed) - GLWorkerThread.WorkerRunnable.run() (changed) - Animator.run() (changed) - AnimatorBase.finishLifecycleAction() (changed) - OSXUtil.RunOnMainThread(..) (changed) - SingletonInstanceServerSocket.Server.shutdown() (changed) - SingletonInstanceServerSocket.Server.start() (changed) - com.jogamp.audio.windows.waveout.Mixer.shutdown() (changed) - Extending/Using InterruptSource.Thread (changed) - DefaultEDTUtil.NEDT - AWTEDTUtil.NEDT - SWTEDTUtil.NEDT - GLWorkerThread.thread - Mixer.FillerThread - Mixer.MixerThread - Using InterruptSource.Thread (changed) - TempFileCache - LauncherTempFileCache - Animator.thread - SingletonInstanceServerSocket.Server.serverThread Deprecated: - FunctionTask.invoke(..) (changed) -> on current thread, no wait -> deprecated - RunnableTask.invoke(..) (changed) -> on current thread, no wait -> deprecated The file was modified src/jogl/classes/jogamp/opengl/GLWorkerThread.java (diff) The file was modified src/jogl/classes/jogamp/opengl/SharedResourceRunner.java (diff) The file was added src/newt/classes/com/jogamp/newt/opengl/util/NEWTDemoListener.java (diff) The file was modified src/newt/classes/jogamp/newt/DefaultEDTUtil.java (diff) The file was modified src/jogl/classes/jogamp/opengl/GLDrawableHelper.java (diff) The file was modified src/newt/classes/com/jogamp/newt/util/MainThread.java (diff) The file was modified src/jogl/classes/jogamp/opengl/GLRunnableTask.java (diff) The file was modified src/newt/classes/com/jogamp/newt/util/applet/JOGLNewtAppletBase.java (diff) The file was modified src/jogl/classes/jogamp/opengl/GLAutoDrawableBase.java (diff) The file was modified src/newt/classes/jogamp/newt/driver/awt/AWTEDTUtil.java (diff) The file was modified src/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/Animator.java (diff) The file was modified src/newt/classes/jogamp/newt/DisplayImpl.java (diff) The file was modified src/newt/classes/jogamp/newt/driver/linux/LinuxMouseTracker.java (diff) The file was modified src/newt/classes/jogamp/newt/driver/linux/LinuxEventDeviceTracker.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/AnimatorBase.java (diff) The file was modified src/nativewindow/classes/com/jogamp/nativewindow/NativeWindowFactory.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/awt/TextRenderer.java (diff) The file was modified src/jogl/classes/com/jogamp/audio/windows/waveout/Mixer.java (diff) The file was modified src/newt/classes/jogamp/newt/event/NEWTEventTask.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/awt/GLJPanel.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/GLAnimatorControl.java (diff) The file was modified src/jogl/classes/jogamp/opengl/android/av/AndroidGLMediaPlayerAPI14.java (diff) The file was modified src/newt/classes/jogamp/newt/swt/SWTEDTUtil.java (diff) The file was modified src/nativewindow/classes/jogamp/nativewindow/macosx/OSXUtil.java (diff) The file was modified src/jogl/classes/jogamp/opengl/util/av/GLMediaPlayerImpl.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/caps/TestTranslucencyNEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/swt/TestBug672NewtCanvasSWTSashForm.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/swt/TestBug672NewtCanvasSWTSashFormComposite.java (diff) The file was modified src/test/com/jogamp/opengl/test/android/NEWTGearsES2Activity.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/util/MiscUtils.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting01cSwingAWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestFBOAutoDrawableDeadlockAWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedExternalContextAWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es1/newt/TestRedSquareES1NEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/bugs/Bug735Inv1AppletAWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/newt/event/BaseNewtEventModifiers.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestPBufferDeadlockAWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/newt/TestBug1211IRQ00NEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestBug1146GLContextDialogToolTipAWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestElektronenMultipliziererNEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NewtCanvasSWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/bugs/Bug735Inv2AppletAWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/bugs/Issue344Base.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/InitConcurrentBaseNEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestRedSquareES2NEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/swt/TestNewtCanvasSWTBug628ResizeDeadlockAWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/bugs/Bug735Inv0AppletAWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTBug643AsyncExec.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLContextSurfaceLockNEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/anim/Bug898AnimatorFromEDTAWT.java (diff) The file was removed src/test/com/jogamp/opengl/test/junit/util/NEWTDemoListener.java (diff) The file was modified make/scripts/tests.sh (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestLandscapeES2NewtCanvasAWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/newt/event/TestParentingFocus03KeyTraversalAWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestLandscapeES2NEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/util/texture/TestGLReadBufferUtilTextureIOWrite02NEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es1/newt/TestGearsES1NEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/CrossFadePlayer.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NewtCanvasAWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestFBOOnThreadSharedContext1DemoES2NEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting03AWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSBSStereo.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2SimpleNEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestFBOOffThreadSharedContextMix2DemosES2NEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestOffscreenLayer02NewtCanvasAWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestFBOMix2DemosES2NEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/newt/TestGearsNEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/newt/parenting/NewtAWTReparentingKeyAdapter.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/MediaPlayerButton.java (diff)