1
0
forked from 0ad/0ad
0ad/source/scriptinterface
wraitii 61e932a890 Turn off SPECTRE mitigation in jit code
SPECTRE attacks mitigations were added to SpiderMonkey's JIT output in
version 57. Turning these off is a very large speedup, around 10-20%
wall time (on my computer) depending on the map and the situation.
For the most part, from profiling on my machine, this is from memory
fences after JIT -> C++ calls. 0 A.D. does a lot of these.

The SPECTRE class of attack is a timing attack based on speculative
execution to leak sensitive information, and it seems extraordinarily
unlikely that something like this could be successfully mounted using 0
A.D.

Differential Revision: https://code.wildfiregames.com/D5014
This was SVN commit r27699.
2023-06-14 07:44:23 +00:00
..
tests Fixes broken PCH after wraitii commits (4f972bc623, 0f60bf3a97) and Itms (833c9f108c). 2021-05-15 14:50:24 +00:00
FunctionWrapper.h Remove all external usage of CmptPrivate. Header cleanup. 2021-05-15 13:54:58 +00:00
JSON.cpp Drops custom utf16 string implementation (from cdd3317ded), uses C++11 one. 2021-11-29 12:10:41 +00:00
JSON.h Split off JSON-related function from ScriptInterface, clean up headers. 2021-05-14 10:18:03 +00:00
Object.h Fix atlas crash with RM capture the relic. 2021-06-07 18:48:16 +00:00
ScriptContext.cpp Turn off SPECTRE mitigation in jit code 2023-06-14 07:44:23 +00:00
ScriptContext.h [SM91] Update to Spidermonkey 91.1.3 APIs 2023-01-10 17:06:47 +00:00
ScriptConversions.cpp [SM91] Update to Spidermonkey 91.1.3 APIs 2023-01-10 17:06:47 +00:00
ScriptConversions.h Fixes broken PCH after wraitii commits (4f972bc623, 0f60bf3a97) and Itms (833c9f108c). 2021-05-15 14:50:24 +00:00
ScriptEngine.h Address concerns in 5473393e30 (RL interface) 2021-01-15 16:30:05 +00:00
ScriptExceptions.cpp Debundle Valgrind and make it optional 2021-09-20 22:18:28 +00:00
ScriptExceptions.h [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
ScriptExtraHeaders.h [SM91] Update to Spidermonkey 91.1.3 APIs 2023-01-10 17:06:47 +00:00
ScriptForward.h Split ScriptRequest in its own header. 2021-05-03 16:07:26 +00:00
ScriptInterface.cpp [SM91] Update to Spidermonkey 91.1.3 APIs 2023-01-10 17:06:47 +00:00
ScriptInterface.h Remove useless line from 507f44f7f9 2023-06-14 07:28:37 +00:00
ScriptRequest.h Remove all external usage of CmptPrivate. Header cleanup. 2021-05-15 13:54:58 +00:00
ScriptStats.cpp [SM78 2/2] Update to Spidermonkey 78 APIs 2020-12-06 14:03:02 +00:00
ScriptStats.h Use override in classes derived from AbstractProfileTable. 2023-01-10 22:32:08 +00:00
ScriptTypes.h [SM91] Update to Spidermonkey 91.1.3 APIs 2023-01-10 17:06:47 +00:00
StructuredClone.cpp Fix no-pch build. Potentially fixes bb49fbe793, 0198942a79, 34b1920e7b, 8b08f4ae7a 0dbf417171, 3af1fc64d2, 5fbdbaa3bc, 6fbf036ae4. 2021-05-12 13:48:55 +00:00
StructuredClone.h Split off StructuredClone from ScriptInterface 2021-05-10 11:51:32 +00:00