http://bugs.winehq.org/show_bug.cgi?id=29936
Bug #: 29936 Summary: Java Quick Starter service chews CPU Product: Wine Version: 1.4-rc4 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
Since Java SE 6 update 10, Java installs a "Java Quick Starter" service which chews up huge amounts of CPU, and outputs the following six messages over and over:
fixme:sync:CreateMemoryResourceNotification (0) stub fixme:sync:CreateMemoryResourceNotification (1) stub fixme:sync:QueryMemoryResourceNotification ((nil), 0x93e95c) stub fixme:sync:QueryMemoryResourceNotification ((nil), 0x93e958) stub fixme:win:RegisterDeviceNotificationA (hwnd=0x12b810, filter=0x93e694,flags=0x00000001) returns a fake device notification handle! fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
Suppressing those error messages does not fix the excess CPU usage.
The workaround is to turn off Java Quick Starter, e.g. by doing wine control double clicking on the Java control panel applet, then unchecking Advanced / Miscellaneous / Java Quick Starter.
See http://java.com/en/download/help/quickstarter.xml
http://bugs.winehq.org/show_bug.cgi?id=29936
--- Comment #1 from Juan Lang juan.lang@gmail.com 2012-02-19 05:48:22 CST --- What if you change the QueryMemoryResourceNotification stub to return TRUE and set *rs to FALSE?
http://bugs.winehq.org/show_bug.cgi?id=29936
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://java.com/en/download | |/manual.jsp Severity|normal |minor
http://bugs.winehq.org/show_bug.cgi?id=29936
--- Comment #2 from Dan Kegel dank@kegel.com 2012-02-19 10:27:10 CST --- Not quite good enough; you also need to return a real handle it can wait on in CreateMemoryResourceNotification(). Patch sent.
http://bugs.winehq.org/show_bug.cgi?id=29936
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |aeaf18077e42b23ff96cbd1192c | |b47948c767708 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #3 from Dan Kegel dank@kegel.com 2013-01-25 11:34:36 CST --- Doesn't seem to happen anymore. Those functions were implemented in wine-1.5.1 or so.
http://bugs.winehq.org/show_bug.cgi?id=29936
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2013-02-01 04:57:24 CST --- Closing bugs fixed in 1.5.23.
https://bugs.winehq.org/show_bug.cgi?id=29936
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |kernel32