Chromium Code Reviews
DescriptionMake IdentifiersFactory thread-safe
IdentifiersFactory can be used not only from main thread but also from
ScriptStreamer thread, so it should not hold process ID prefix as
thread-unsafe WTF::String. This fixes crash when devtools.timeline
tracing is enabled.
This patch also makes s_lastUsedIdentifier increment atomically.
BUG=621473, 612282
Committed: https://crrev.com/0751df2ff806e1ed303c2f652a090057d6768ba1
Cr-Commit-Position: refs/heads/master@{#401778}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Atomically increment s_lastUsedIdentifier #Patch Set 3 : long -> int #
Messages
Total messages: 17 (9 generated)
|
||||||||||||||||||||||||||||