Bugzilla
Quick Search
Browse
Advanced Search
Reports
Quick Search Help
Documentation
New Account
Log In
Login with GitHub
Remember
Forgot Password
Mozilla Home
Privacy
Cookies
Legal
Attachment 8956498 Details for
Bug 1442804
[patch]
heap write analysis: whitelist all atomics
base-85d1521f5857 (text/plain), 1.17 KB, created by
Steve Fink [:sfink] [:s:]
(
hide
)
Description:
heap write analysis: whitelist all atomics
Filename:
MIME Type:
Creator:
Steve Fink [:sfink] [:s:]
Size:
1.17 KB
patch
obsolete
># HG changeset patch ># User Steve Fink <sfink@mozilla.com> ># Date 1520354616 28800 ># Tue Mar 06 08:43:36 2018 -0800 ># Node ID 85d1521f585765848202c091cdaca46a8af56f58 ># Parent 7beda5c60408aa1d109080a01964140ac86358a7 >heap write analysis: whitelist all atomics > >diff --git a/js/src/devtools/rootAnalysis/analyzeHeapWrites.js b/js/src/devtools/rootAnalysis/analyzeHeapWrites.js >--- a/js/src/devtools/rootAnalysis/analyzeHeapWrites.js >+++ b/js/src/devtools/rootAnalysis/analyzeHeapWrites.js >@@ -29,20 +29,17 @@ function checkExternalFunction(entry) > /memchr/, > "strlen", > "Servo_ComputedValues_EqualCustomProperties", > /Servo_DeclarationBlock_GetCssText/, > "Servo_GetArcStringData", > "Servo_IsWorkerThread", > /nsIFrame::AppendOwnedAnonBoxes/, > // Assume that atomic accesses are threadsafe. >- /^__atomic_fetch_/, >- /^__atomic_load_/, >- /^__atomic_store_/, >- /^__atomic_thread_fence/, >+ /^__atomic_/, > ]; > if (entry.matches(whitelist)) > return; > > // memcpy and memset are safe if the target pointer is threadsafe. > const simpleWrites = [ > "memcpy", > "memset",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Flags:
bholley
: review+
Actions:
View
|
Diff
|
Review
Attachments on
bug 1442804
:
8955702
|
8955721
| 8956498 |
8956499
|
8956500
|
8956502