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

JavaFX changes Windows interrupt frequency to 1ms

XMLWordPrintable

    • x86_64
    • windows_7

      FULL PRODUCT VERSION :
      1.8.0_73

      ADDITIONAL OS VERSION INFORMATION :
      Windows 7
      Windows 10

      A DESCRIPTION OF THE PROBLEM :
      Running a trivial JavaFX app which opens a single, blank, WebView, causes Windows to switch to 1ms interrupt frequency from its default 15.6ms frequency. This is causing battery drain on partable devices. There does not appear to be a way to prevent this behaviour.

      Note this may not be WebView-specific, that is just what our app uses.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Write a trivial JavaFX program which opens a WebView. Use the ClockRes tool from MSDN to check the Windows interrupt frequency. You will see it switch from 15.6ms to 1ms



      REPRODUCIBILITY :
      This bug can be reproduced always.

            arapte Ambarish Rapte
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: