Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: Re: GUI Freeze D3D Screen Updater thread blocked

  1. #1
    Junior Member
    Join Date
    Jun 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Re: GUI Freeze D3D Screen Updater thread blocked

    Also I have the same problem under Oracle JDK7u21 64bit & Windows8Pro 64bit considering the stack trace and lock object name.
    When I use the 1.6 jvm, the deadlock would not happen.
    But I got locked when I use the 1.7 jvm even if I use the exactly same program.
    The Window#getOpacity() was initially introduced in jdk since 1.7.
    I think that this would be a bug of jvm imported by the new function.

    Furthermore, unfortunately I cannot find some bug reports of JDK and there is few information about this problem.
    This bug will be fixed or not?
    How should we do?


    Thread [AWT-EventQueue-0] (Suspended)
    owns: Component$AWTTreeLock (id=92)
    waiting for: Object (id=91)
    Object.wait(long) line: not available [native method]
    Object.wait() line: 503
    D3DScreenUpdateManager.runUpdateNow() line: not available
    D3DBlitLoops.IsoBlit(SurfaceData, SurfaceData, BufferedImage, BufferedImageOp, Composite, Region, AffineTransform, int, int, int, int, int, double, double, double, double, boolean) line: not available
    D3DRTTSurfaceToSurfaceBlit.Blit(SurfaceData, SurfaceData, Composite, Region, int, int, int, int, int, int) line: not available
    D3DDrawImage(DrawImage).blitSurfaceData(SunGraphic s2D, Region, SurfaceData, SurfaceData, SurfaceType, SurfaceType, int, int, int, int, int, int, Color) line: not available
    D3DDrawImage(DrawImage).renderImageCopy(SunGraphic s2D, Image, Color, int, int, int, int, int, int) line: not available
    D3DDrawImage(DrawImage).copyImage(SunGraphics2D, Image, int, int, Color) line: not available
    D3DDrawImage(DrawImage).copyImage(SunGraphics2D, Image, int, int, Color, ImageObserver) line: not available
    ValidatePipe.copyImage(SunGraphics2D, Image, int, int, Color, ImageObserver) line: not available
    SunGraphics2D.drawImage(Image, int, int, Color, ImageObserver) line: not available
    SunGraphics2D.drawImage(Image, int, int, ImageObserver) line: not available
    RepaintManager$PaintManager.paintDoubleBuffered(JC omponent, Image, Graphics, int, int, int, int) line: not available
    RepaintManager$PaintManager.paint(JComponent, JComponent, Graphics, int, int, int, int) line: not available
    RepaintManager.paint(JComponent, JComponent, Graphics, int, int, int, int) line: not available
    JTextArea(JComponent).paintForceDoubleBuffered(Gra phics) line: not available
    JViewport.paintView(Graphics) line: not available
    JViewport.windowBlitPaint(Graphics) line: not available
    JViewport.setViewPosition(Point) line: not available
    ViewportLayout.layoutContainer(Container) line: not available
    JViewport(Container).layout() line: not available
    JViewport(Container).doLayout() line: not available
    JViewport(Container).validateTree() line: not available
    JScrollPane(Container).validateTree() line: not available
    JScrollPane(Container).validate() line: not available
    JViewport.validateView() line: not available
    JViewport.scrollRectToVisible(Rectangle) line: not available
    JTextArea(JComponent).scrollRectToVisible(Rectangl e) line: not available
    BasicTextUI$BasicCaret(DefaultCaret).adjustVisibil ity(Rectangle) line: not available
    BasicTextUI$BasicCaret(DefaultCaret).repaintNewCar et() line: not available
    DefaultCaret$1.run() line: not available
    InvocationEvent.dispatch() line: not available
    EventQueue.dispatchEventImpl(AWTEvent, Object) line: not available
    EventQueue.access$200(EventQueue, AWTEvent, Object) line: not available
    EventQueue$3.run() line: not available
    EventQueue$3.run() line: not available
    AccessController.doPrivileged(PrivilegedAction<T>, AccessControlContext) line: not available [native method]
    ProtectionDomain$1.doIntersectionPrivilege(Privile gedAction<T>, AccessControlContext, AccessControlContext) line: not available
    EventQueue.dispatchEvent(AWTEvent) line: not available
    EventDispatchThread.pumpOneEventForFilters(int) line: not available
    EventDispatchThread.pumpEventsForFilter(int, Conditional, EventFilter) line: not available
    EventDispatchThread.pumpEventsForHierarchy(int, Conditional, Component) line: not available
    EventDispatchThread.pumpEvents(int, Conditional) line: not available
    EventDispatchThread.pumpEvents(Conditional) line: not available
    EventDispatchThread.run() line: not available

    Daemon System Thread [D3D Screen Updater] (Suspended)
    waiting for: Component$AWTTreeLock (id=92)
    JDialog(Window).getOpacity() line: not available
    SunToolkit.isContainingTopLevelTranslucent(Compone nt) line: not available
    WDialogPeer(WComponentPeer).isAccelCapable() line: not available
    D3DSurfaceData$D3DWindowSurfaceData.restoreSurface () line: not available
    D3DScreenUpdateManager.validate(D3DSurfaceData$D3D WindowSurfaceData) line: not available
    D3DScreenUpdateManager.run() line: not available
    Thread.run() line: not available


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: GUI Freeze D3D Screen Updater thread blocked

    Welcome to the forums. Please don't hijack someone else's thread - at most reference a thread which may pertain to your problem
    http://www.javaprogrammingforums.com...d-blocked.html

    Your post has been moved to its own thread.

    Are you trying to update the GUI from a thread other than the EDT?

  3. #3
    Junior Member
    Join Date
    Jun 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: GUI Freeze D3D Screen Updater thread blocked

    Dear copeg.

    > Are you trying to update the GUI from a thread other than the EDT?
    No, as far as I recognize.
    I think that my problem obviously has the same root cause reported by davef3's original thread 'GUI Freeze D3D Screen Updater thread blocked'
    because the blocked stack trace are the same.

    I posted my report to follow his report because it is a bug reproduction report in another environment.
    I want to know why you split the thread.

    --- Update ---

    Dear copeg.

    > Are you trying to update the GUI from a thread other than the EDT?
    No, as far as I recognize.
    I think that my problem obviously has the same root cause reported by davef3's original thread 'GUI Freeze D3D Screen Updater thread blocked'
    because the blocked stack trace are the same.

    I posted my report to follow his report because it is a bug reproduction report in another environment.
    I want to know why you split the thread.

  4. #4
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: GUI Freeze D3D Screen Updater thread blocked

    I posted my report to follow his report because it is a bug reproduction report in another environment.
    I want to know why you split the thread.
    That thread was several weeks old, and several week old threads with multiple responses get much less attention than new threads. If you wish your post to get immediately lost in the mix then just ask and it will be moved back.

    If your intention is to report a bug, this is not the appropriate venue - please do so directly to the developers.
    Report a Bug or Request a Feature

  5. #5
    Junior Member
    Join Date
    Jun 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: GUI Freeze D3D Screen Updater thread blocked

    OK. thank you. I'll go to the bug report.

Similar Threads

  1. Update GUI from thread
    By robc3129 in forum Object Oriented Programming
    Replies: 2
    Last Post: June 20th, 2013, 02:30 PM
  2. GUI Freeze D3D Screen Updater thread blocked
    By davef3 in forum AWT / Java Swing
    Replies: 4
    Last Post: May 24th, 2013, 10:24 AM
  3. [SOLVED] GUI - Should it be in its own thread?
    By mds1256 in forum AWT / Java Swing
    Replies: 2
    Last Post: October 20th, 2012, 12:30 PM
  4. Thread Blocked
    By Rakesh_Yadav in forum Threads
    Replies: 1
    Last Post: February 19th, 2010, 11:54 AM
  5. Need help understanding GUI screen layouts and labels
    By Bill_H in forum AWT / Java Swing
    Replies: 3
    Last Post: December 2nd, 2009, 11:50 PM