It should be possible to adjust DFG and FTL compiler thread priorities
https://bugs.webkit.org/show_bug.cgi?id=130288

Reviewed by Filip Pizlo.

Added ability to change thread priorities relative to its current priority.
Created options to adjust the priority of the DFG and FTL compilation work thread
pools.  For two core systems, there might be three runnable threads, the main thread,
the DFG compilation thread and the FTL compilation thread.  With the same priority,
the scheduler is free to schedule whatever thread it wants.  By lowering the
compilation threads, the main thread can run.  Further tests may suggest better values
for the new options, priorityDeltaOfDFGCompilerThreads and priorityDeltaOfFTLCompilerThreads.

For a two-core device, this change has a net positive improvement of 1-3% across
SunSpider, Octane, Kraken and AsmBench.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165687 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix WebCore unused parameter warnings for WebKitGTK+ CMake build
https://bugs.webkit.org/show_bug.cgi?id=130252

Reviewed by Carlos Garcia Campos.

* Modules/mediastream/HTMLMediaElementMediaStream.cpp: Fix unused parameters.
* html/RangeInputType.cpp: Ditto.
* page/gtk/EventHandlerGtk.cpp: Ditto.
* platform/graphics/cairo/GraphicsContextCairo.cpp: Ditto.
* platform/graphics/gstreamer/WebKitMediaSourceGStreamer.cpp: Ditto.
* platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp: Ditto.
* platform/graphics/opengl/Extensions3DOpenGLES.cpp: Ditto.
* platform/gtk/GamepadsGtk.cpp: Ditto.
* platform/gtk/GtkClickCounter.cpp: Ditto.
* platform/gtk/GtkPopupMenu.cpp: Ditto.
* platform/gtk/GtkTouchContextHelper.cpp: Ditto.
* platform/gtk/GtkVersioning.c: Ditto.
* platform/gtk/MainFrameScrollbarGtk.cpp: Ditto.
* platform/gtk/PasteboardGtk.cpp: Ditto.
* platform/gtk/PasteboardHelper.cpp: Ditto.
* platform/gtk/RedirectedXCompositeWindow.cpp: Ditto.
* platform/gtk/RenderThemeGtk.cpp: Ditto.
* platform/gtk/RenderThemeGtk.h: Ditto.
* platform/gtk/RenderThemeGtk2.cpp: Ditto.
* platform/gtk/ScrollbarThemeGtk.cpp: Ditto.
* platform/gtk/ScrollbarThemeGtk2.cpp: Ditto.
* platform/gtk/WidgetGtk.cpp: Ditto.
* platform/network/gtk/CredentialBackingStore.cpp: Ditto.
* platform/soup/SharedBufferSoup.cpp: Ditto.
* plugins/gtk/PluginViewGtk.cpp: Ditto.
* plugins/gtk/gtk2xtbin.c: Ditto.
* rendering/InlineTextBox.cpp: Ditto.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165688 268f45cc-cd09-0410-ab3c-d52691b4dbfc