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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 7u51, 8u5, 9
    • Fix Version/s: tbd_minor
    • Component/s: deploy
    • Labels:
    • Environment:

      MacOS 10.8.2, MacOS 10.7.5, FireFox 24

    • Subcomponent:
    • CPU:
      generic
    • OS:
      os_x

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: