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

[mac] Several applets on a single page in Firefox result in high CPU load

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • tbd
    • 7u51, 8u5, 9
    • deploy
    • MacOS 10.8.2, MacOS 10.7.5, FireFox 24

    • generic
    • os_x

      For each applet MozillPlugin creates a Timer which polls windowLocation 60 times per second. When a number of applets (10-20) are loaded on a page the CPU load of the browser + plugin-process might be up to 50-70%.
      May be it makes sense to reduce the polling frequency depending on the number of applets, i.e. share those 60 times/sec for all applets to reduce the total load.

      The sample app could be run from:
      http://nemo.sg.oracle.com:8080/manyapplet/demo.html
      http://anashaty.ru.oracle.com:8080/many (20 applets)
      http://anashaty.ru.oracle.com:8080/many/5.html (5 applets)
      http://anashaty.ru.oracle.com:8080/many/10.html (10 applets)
      http://anashaty.ru.oracle.com:8080/many/15.html (15 applets)

            ddehaven David Dehaven (Inactive)
            anashaty Anton Nashatyrev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: