12012-01-20 Roland Takacs <takacs.roland@stud.u-szeged.hu>
2
3 [Qt] GC should be parallel on Qt platform
4 https://bugs.webkit.org/show_bug.cgi?id=73309
5
6 Reviewed by NOBODY (OOPS!).
7
8 These changes made the parallel gc feature available for Qt port.
9 I inserted the "isMainThreadOrGCThread" function's symbol to the .order
10 and .def files to build correctly on Windows platform.
11 Furthermore I moved "registerGCThread" and "isMainThreadOrGCThread"
12 implementations from the MainThreadMac.mm to MainThread.cpp to make
13 parallel GC available not only on MAC platform.
14
15 Measurement results:
16 V8 speed-up: 1.071x as fast [From: 746.1ms To: 696.4ms ]
17 WindScorpion speed-up: 1.082x as fast [From: 3490.4ms To: 3226.7ms]
18 V8 Splay speed-up: 1.158x as fast [From: 145.8ms To: 125.9ms ]
19
20 Tested on Intel(R) Core(TM) i5-2320 CPU @ 3.00GHz with 4-core.
21
22 * JavaScriptCore.order:
23 * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
24 * wtf/MainThread.cpp:
25 (WTF::registerGCThread):
26 (WTF::isMainThreadOrGCThread):
27 * wtf/MainThread.h:
28 * wtf/Platform.h:
29 * wtf/mac/MainThreadMac.mm:
30