Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6284011

java.awt.SplashScreen.update() causes asynchronous window repainting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 6, 7
    • client-libs
    • x86
    • linux, windows_xp

      java.awt.SplashScreen.update() method is used to repaint the splash screen window based on the updated contents of the overlay surface. The method is asynchronous, which could cause some confusion with developers and some performance problems. update() is fast, but when it is called very frequently, it fills up the window message queue (or message pipe on linux) with repainting requests which run much slower. This causes frame skipping, unnecessary painting, and damages normal window operation due to filled message queue.

      This would not harm most real-world applications, however, as they should not call update() so frequently.

      ###@###.### 2005-06-10 17:04:39 GMT

            anthony Anthony Petrov (Inactive)
            osemenovsunw Oleg Semenov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: