NEW 127455
Debug mechanism to override process QoS on Mac
https://bugs.webkit.org/show_bug.cgi?id=127455
Summary Debug mechanism to override process QoS on Mac
Gavin Barraclough
Reported 2014-01-22 17:27:34 PST
.
Attachments
fix (10.23 KB, patch)
2014-01-22 17:30 PST, Gavin Barraclough
andersca: review+
Gavin Barraclough
Comment 1 2014-01-22 17:30:26 PST
Gavin Barraclough
Comment 2 2014-01-22 18:12:20 PST
Transmitting file data ............ Committed revision 162578.
Sam Weinig
Comment 3 2014-01-22 18:24:46 PST
Comment on attachment 221926 [details] fix View in context: https://bugs.webkit.org/attachment.cgi?id=221926&action=review > Source/WebKit2/Shared/mac/ChildProcessMac.mm:206 > +#if !PLATFORM(IOS) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090 Can this be HAVE(QOS...)? > Source/WebKit2/UIProcess/WebContext.cpp:397 > +#if PLATFORM(MAC) > + m_networkProcess->send(Messages::NetworkProcess::SetQOS(networkProcessLatencyQOS(), networkProcessThroughputQOS()), 0); > +#endif Any reason this can't go in the the InitializeNetworkProcess call? > Source/WebKit2/UIProcess/WebContext.cpp:614 > +#if PLATFORM(MAC) > + process->send(Messages::WebProcess::SetQOS(webProcessLatencyQOS(), webProcessThroughputQOS()), 0); > +#endif Any reason this can't go in the the InitializeWebProcess call? > Source/WebKit2/UIProcess/WebContext.h:93 > +#if PLATFORM(MAC) > +int networkProcessLatencyQOS(); > +int networkProcessThroughputQOS(); > +int webProcessLatencyQOS(); > +int webProcessThroughputQOS(); > +#endif If these are Mac specific, please add them to their own header. > Source/WebKit2/UIProcess/Plugins/PluginProcessProxy.cpp:213 > +#if PLATFORM(MAC) > + m_connection->send(Messages::PluginProcess::SetQOS(pluginProcessLatencyQOS(), pluginProcessThroughputQOS()), 0); > +#endif Any reason this can't go in the the InitializePluginProcess call?
Note You need to log in before you can comment on or make changes to this bug.