react-native/ReactCommon/jsi
Marc Horowitz bf2500e38e Switch to synchronous strategy for unprotect
Summary:
Older versions of JSC (ios 11 and before) have a bug which I
believe the ProtectionQueue mechanism tickles:
https://bugs.webkit.org/show_bug.cgi?id=186827

This removes the ProtectionQueue and replaces it with an atomic flag
to avoid calling unprotect after VM shutdown.

This also fixes a race condition in shutdown.

Reviewed By: danzimm

Differential Revision: D12969953

fbshipit-source-id: fa3a14f3207be67a987ac3cf0fc1c9ce88837b0b
2018-11-08 17:08:56 -08:00
..
Android.mk RN: Missing Copyright Headers 2018-10-31 01:37:26 -07:00
BUCK Make SystemJSC on macosx actually use the system JSC framework 2018-10-26 17:08:04 -07:00
JSCRuntime.cpp Switch to synchronous strategy for unprotect 2018-11-08 17:08:56 -08:00
JSCRuntime.h Update copyright headers 2018-10-19 11:08:57 -07:00
JSIDynamic.cpp Update copyright headers 2018-10-19 11:08:57 -07:00
JSIDynamic.h Update copyright headers 2018-10-19 11:08:57 -07:00
instrumentation.h Update copyright headers 2018-10-19 11:08:57 -07:00
jsi-inl.h Update copyright headers 2018-10-19 11:08:57 -07:00
jsi.cpp Update copyright headers 2018-10-19 11:08:57 -07:00
jsi.h Switch to synchronous strategy for unprotect 2018-11-08 17:08:56 -08:00