030c0a7c878192d8dc1b04c182575c2f7858cdd0: merge mozilla-inbound to mozilla-central a=merge
Carsten "Tomcat" Book <cbook@mozilla.com> - Fri, 12 May 2017 14:36:44 +0200 - rev 358068
Push 31808 by cbook@mozilla.com at Fri, 12 May 2017 12:37:49 +0000
merge mozilla-inbound to mozilla-central a=merge
ebad7f51280d3a0dddbc6decb73f5aa0078b6e7e: Backed out 15 changesets (bug 1358846, bug 1356826) for talos error. a=backout
Iris Hsiao <ihsiao@mozilla.com> - Fri, 12 May 2017 17:45:21 +0800 - rev 358067
Push 31808 by cbook@mozilla.com at Fri, 12 May 2017 12:37:49 +0000
Backed out 15 changesets (bug 1358846, bug 1356826) for talos error. a=backout Backed out changeset 96ea13bb00c5 (bug 1358846) Backed out changeset b533d7f9b9c2 (bug 1358846) Backed out changeset 7dcb80a051a3 (bug 1358846) Backed out changeset 26825f1e33dd (bug 1358846) Backed out changeset 98b57ff82a54 (bug 1358846) Backed out changeset b9088593e34f (bug 1358846) Backed out changeset cb2518673c56 (bug 1358846) Backed out changeset 889c487a5d41 (bug 1358846) Backed out changeset 459b36092b7a (bug 1356826) Backed out changeset c861e23ec8ef (bug 1356826) Backed out changeset d47998fa24cd (bug 1356826) Backed out changeset b02e89c67132 (bug 1356826) Backed out changeset c46fed6e4f6a (bug 1356826) Backed out changeset 237268e3d9d2 (bug 1356826) Backed out changeset 527435fc20db (bug 1356826)
bacbf98fc81812fa190b80d03e92d1d85b0422be: Bug 1361258 - Use Thread Local Storage in mozjemalloc on mac. r=erahm
Mike Hommey <mh+mozilla@glandium.org> - Thu, 11 May 2017 14:16:43 +0900 - rev 358066
Push 31808 by cbook@mozilla.com at Fri, 12 May 2017 12:37:49 +0000
Bug 1361258 - Use Thread Local Storage in mozjemalloc on mac. r=erahm NO_TLS used to be hardcoded on mac because up to 10.6, __thread was not supported. Until recently, we still supported for 10.6, and it's not the case anymore, so we could make mac builds use __thread. Unfortunately, on OSX, __thread circles back calling malloc to allocate storage on first access, so we have an infinite loop problem here. Fortunately, pthread_keys don't have this property, so we can use that instead. It doesn't appear to have significantly more overhead (and TLS overhead is small anyways compared to the amount of work involved in allocating memory with mozjemalloc). At the same time, we uniformize the initialization sequence between mozjemalloc and mozjemalloc+replace-malloc, such that we have less occasions for surprises when riding the trains (replace-malloc being nightly only), ensuring the zone registration happens at the end of mozjemalloc's initialization.
751e131baa5d2074b6fd2649d10707ab3352cbf0: Bug 1361258 - Initial implementation for jemalloc_thread_local_arena. r=erahm
Mike Hommey <mh+mozilla@glandium.org> - Thu, 11 May 2017 10:19:51 +0900 - rev 358065
Push 31808 by cbook@mozilla.com at Fri, 12 May 2017 12:37:49 +0000
Bug 1361258 - Initial implementation for jemalloc_thread_local_arena. r=erahm The function, when passed `true`, creates a new arena with no attachment in the global list of arenas, and assigns it to the current thread. When passed `false`, it restores the default arena. Some details are left out because they don't matter yet, as the sole initial use of the API is going to invoke the function when stylo rayon threads start up, which happens exactly once per thread, and at thread exit time, which happens at shutdown, if ever. This simplifies things, and leaves those details to followup(s): - Arenas can't simply be killed when the function is called with `false` again (or when the thread dies) because they may still contain valid allocations that could have been passed to other threads. Those arenas should be kept until they are empty. - jemalloc_stats doesn't know about them and will under-report memory usage. - pre/post fork hooks don't know about them and will not force-unlock their locks. In practice, until those arenas are used for something else than the style system, this can't lead to the dead-locks that these hooks help prevent because nothing should be touching pointers allocated through them after fork.
1290ff3502724245fdab50e85d3f93f86536818c: Bug 1361258 - Add a hazard exception for Gecko_SetJemallocThreadLocalArena. r=me
Mike Hommey <mh+mozilla@glandium.org> - Thu, 11 May 2017 13:31:18 +0900 - rev 358064
Push 31808 by cbook@mozilla.com at Fri, 12 May 2017 12:37:49 +0000
Bug 1361258 - Add a hazard exception for Gecko_SetJemallocThreadLocalArena. r=me
182823a741b4cf53a4f05d42df06acb7488cbb6e: Bug 1361258 - Add a jemalloc_thread_local_arena API with a binding for rust. r=glandium
Julian Seward <jseward@acm.org> - Wed, 10 May 2017 14:31:51 +0200 - rev 358063
Push 31808 by cbook@mozilla.com at Fri, 12 May 2017 12:37:49 +0000
Bug 1361258 - Add a jemalloc_thread_local_arena API with a binding for rust. r=glandium The intent of the API is to allow threads to opt-in to use a separate mozjemalloc arena. This indroduces a dummy shell with no actual implementation.
2757a36546c0b7d2cd7ff50d8a981841f85107f3: Bug 1354504 - Add autocomplete to network monitor search box. r=jdescottes, ntim
Ruturaj K. Vartak <ruturaj@gmail.com> - Thu, 11 May 2017 04:25:00 +0100 - rev 358062
Push 31808 by cbook@mozilla.com at Fri, 12 May 2017 12:37:49 +0000
Bug 1354504 - Add autocomplete to network monitor search box. r=jdescottes, ntim MozReview-Commit-ID: KojxbqOAJAQ
2af9492e9b767247f3339563da3a26c4e0ef4445: Bug 1364014 - Remove unnecessary is-array check in GCMarker::restoreValueArray. r=jonco
Jan de Mooij <jdemooij@mozilla.com> - Fri, 12 May 2017 09:46:21 +0200 - rev 358061
Push 31808 by cbook@mozilla.com at Fri, 12 May 2017 12:37:49 +0000
Bug 1364014 - Remove unnecessary is-array check in GCMarker::restoreValueArray. r=jonco
27fb70fdc7444c289e4ea9fdce5a1aafeafadd1b: Bug 1362814 - Part 2: Move GeckoProfilerReporter to its own header; r=mstange
Ehsan Akhgari <ehsan@mozilla.com> - Sun, 07 May 2017 21:43:41 -0400 - rev 358060
Push 31808 by cbook@mozilla.com at Fri, 12 May 2017 12:37:49 +0000
Bug 1362814 - Part 2: Move GeckoProfilerReporter to its own header; r=mstange This allows us to get rid of the nsIMemoryReporter.h inclusion in GeckoProfiler.h. That brings XPCOM string headers with it.
656f2a934ccd48ec1776003bc8cb1cb2159f989b: Bug 1362814 - Part 1: Remove an unneeded inclusion from GeckoProfiler.h; r=mstange
Ehsan Akhgari <ehsan@mozilla.com> - Sun, 07 May 2017 16:38:50 -0400 - rev 358059
Push 31808 by cbook@mozilla.com at Fri, 12 May 2017 12:37:49 +0000
Bug 1362814 - Part 1: Remove an unneeded inclusion from GeckoProfiler.h; r=mstange
8cfb113ea73ba7393e6993df1e0644257ebd584c: Bug 1363675 - Get D3D11Device from TextureSourceProvider if it exists. r=dvander
vincentliu <vliu@mozilla.com> - Fri, 12 May 2017 14:09:53 +0800 - rev 358058
Push 31808 by cbook@mozilla.com at Fri, 12 May 2017 12:37:49 +0000
Bug 1363675 - Get D3D11Device from TextureSourceProvider if it exists. r=dvander
64454880365401de837eb4673e762e2088f37716: Backed out 3 changesets (bug 1310885) for heap write hazard failures
Phil Ringnalda <philringnalda@gmail.com> - Thu, 11 May 2017 23:03:31 -0700 - rev 358057
Push 31808 by cbook@mozilla.com at Fri, 12 May 2017 12:37:49 +0000
Backed out 3 changesets (bug 1310885) for heap write hazard failures Backed out changeset 77352010d8e8 (bug 1310885) Backed out changeset 9245a2fbb974 (bug 1310885) Backed out changeset 7c2db290c4b6 (bug 1310885) MozReview-Commit-ID: 7JWuxt9QDO0
96ea13bb00c5a058a8d571e30794e8d0385182ee: Bug 1358846: Temporarily disable low-value tests that fail only on Windows. r=me
Kris Maglione <maglione.k@gmail.com> - Thu, 11 May 2017 22:42:44 -0700 - rev 358056
Push 31808 by cbook@mozilla.com at Fri, 12 May 2017 12:37:49 +0000
Bug 1358846: Temporarily disable low-value tests that fail only on Windows. r=me MozReview-Commit-ID: AklygLaeckt
b533d7f9b9c2c574175cbdd6a965bd85133a25ef: Bug 1358846: Disable Jetpack child_process test. r=me
Kris Maglione <maglione.k@gmail.com> - Tue, 09 May 2017 21:04:35 -0700 - rev 358055
Push 31808 by cbook@mozilla.com at Fri, 12 May 2017 12:37:49 +0000
Bug 1358846: Disable Jetpack child_process test. r=me MozReview-Commit-ID: 65a0bfbtskU
7dcb80a051a3c6d70561b2965795cdc886b6028b: Bug 1358846: Part 6 - Clean up error handling. r=me
Kris Maglione <maglione.k@gmail.com> - Sat, 29 Apr 2017 19:03:40 -0700 - rev 358054
Push 31808 by cbook@mozilla.com at Fri, 12 May 2017 12:37:49 +0000
Bug 1358846: Part 6 - Clean up error handling. r=me MozReview-Commit-ID: ApF7H3NTIU8
26825f1e33dd2ef48bef737d97d9ba9af700417f: Bug 1358846: Part 5 - Clean up some path manipulation code. r=rhelmer
Kris Maglione <maglione.k@gmail.com> - Sun, 23 Apr 2017 10:30:39 -0700 - rev 358053
Push 31808 by cbook@mozilla.com at Fri, 12 May 2017 12:37:49 +0000
Bug 1358846: Part 5 - Clean up some path manipulation code. r=rhelmer MozReview-Commit-ID: ArgurF3QVSw
98b57ff82a5477e3f0c0f880c0a72cc115cdf9af: Bug 1358846: Part 4 - Merge various startup information stores into a single JSON file. r=rhelmer,jonco
Kris Maglione <maglione.k@gmail.com> - Thu, 11 May 2017 16:54:46 -0700 - rev 358052
Push 31808 by cbook@mozilla.com at Fri, 12 May 2017 12:37:49 +0000
Bug 1358846: Part 4 - Merge various startup information stores into a single JSON file. r=rhelmer,jonco MozReview-Commit-ID: Bs8xMqzVOcl
b9088593e34ff5abe9bc64dcd81f2f36ca7770b6: Bug 1358846: Part 3 - Trivial cleanups. r=rhelmer
Kris Maglione <maglione.k@gmail.com> - Sat, 22 Apr 2017 18:38:45 -0700 - rev 358051
Push 31808 by cbook@mozilla.com at Fri, 12 May 2017 12:37:49 +0000
Bug 1358846: Part 3 - Trivial cleanups. r=rhelmer MozReview-Commit-ID: Kf3x4uBjiEp
cb2518673c56cf3b45e4d4a8f2959191290c00d8: Bug 1358846: Part 2 - Allow using file compression with JSONFile.jsm. r=rhelmer
Kris Maglione <maglione.k@gmail.com> - Sat, 22 Apr 2017 18:23:22 -0700 - rev 358050
Push 31808 by cbook@mozilla.com at Fri, 12 May 2017 12:37:49 +0000
Bug 1358846: Part 2 - Allow using file compression with JSONFile.jsm. r=rhelmer MozReview-Commit-ID: 5lHsZqBGq3E
889c487a5d41926a36482270131cad200a1bfc30: Bug 1358846: Part 1 - Remove old database migration code. r=rhelmer
Kris Maglione <maglione.k@gmail.com> - Fri, 21 Apr 2017 18:55:12 -0700 - rev 358049
Push 31808 by cbook@mozilla.com at Fri, 12 May 2017 12:37:49 +0000
Bug 1358846: Part 1 - Remove old database migration code. r=rhelmer MozReview-Commit-ID: CHdKzQ2u0Rv
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 tip