Bug 119509 (DFG-separate-thread)
Summary: | implement DFG separate thread on 32 bit ARM_THUMB2 | ||
---|---|---|---|
Product: | WebKit | Reporter: | Peng Xinchao <xinchao.peng> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | UNCONFIRMED | ||
Severity: | Major | ||
Priority: | P4 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Peng Xinchao
DFG Separate Thread need to enable concurrent_jit . In platform.h ,
/* Concurrent JIT only works on 64-bit platforms because it requires that
values get stored to atomically. This is trivially true on 64-bit platforms,
but not true at all on 32-bit platforms where values are composed of two
separate sub-values. */
#if PLATFORM(MAC) && ENABLE(DFG_JIT) && USE(JSVALUE64)
#define ENABLE_CONCURRENT_JIT 1
#endif
In fact ,ByteSpinLock need implement CAS .But on ARM_THUMB2 , function"weakCompareAndSwap" have implemented .
Why not enable CONCURRENT_JIT on ARM_THUMB2?
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |