gecko-dev/js
Nick Fitzgerald 94052d5b73 Bug 1296399 - Make the js::SPSProfiler::strings a js::ExclusiveData. r=shu
The js::SPSProfiler::lock_ only existed to protect the js::SPSProfiler::strings
member[0], but it was not clear at all whether it protected all members or
what. Instead, let's wrap the strings member in a js::ExclusiveData so that
the *only* way to access it by taking the lock and so that it is clear what
members need locking.

And of course there were multiple places where the member wasn't getting locked
properly...

[0] See
http://searchfox.org/mozilla-central/diff/0df4a565cc0c7ce54d0f7628a87280a6dca140c4/js/src/vm/SPSProfiler.h#215
for the archaeology bits.

--HG--
extra : rebase_source : b157315e9975529a7553cb236980caa8acd48bf9
2016-08-18 12:35:00 -04:00
..
ductwork/debugger Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
examples Bug 944164 - Further jorendb fixes, r=me 2016-04-18 13:21:33 -07:00
ipc Bug 1292892 part 7 - Remove unnecessary JSContext arguments from IPC classes. r=bz 2016-08-11 14:39:23 +02:00
public Bug 1296399 - Make sure that the js::ProfileEntry::Flags fit in the type that they are used with. r=shu 2016-08-18 12:35:00 -04:00
src Bug 1296399 - Make the js::SPSProfiler::strings a js::ExclusiveData. r=shu 2016-08-18 12:35:00 -04:00
xpconnect Backed out 3 changesets (bug 1288870) for hazards a=backout 2016-08-18 16:50:13 -07:00
moz.configure Bug 1293981 - Move --enable-more-deterministic to moz.configure. r=chmanchester 2016-08-10 13:06:55 +02:00