996124fe6f8d5884970b5565098efa25b981863b: Bug 1362478 - Disable sandbox in the code coverage build, as it prevents content processes from updating gcda files. r=jmaher
Marco Castelluccio <mcastelluccio@mozilla.com> - Fri, 05 May 2017 18:31:45 +0200 - rev 356948
Push 31776 by ihsiao@mozilla.com at Mon, 08 May 2017 03:11:58 +0000
Bug 1362478 - Disable sandbox in the code coverage build, as it prevents content processes from updating gcda files. r=jmaher
fecd86df5a2eb463ef74f325088d06130ce4472b: Backed out changeset 473e6a1ef169 (bug 1359653) for rooting hazard and crashing during Marionette's test_quit_restart.py TestQuitRestart.test_in_app_restart_with_callback with [@ js::gc::MergeCompartments] on Linux debug builds. r=backout
Sebastian Hengst <archaeopteryx@coole-files.de> - Sat, 06 May 2017 11:06:46 +0200 - rev 356947
Push 31776 by ihsiao@mozilla.com at Mon, 08 May 2017 03:11:58 +0000
Backed out changeset 473e6a1ef169 (bug 1359653) for rooting hazard and crashing during Marionette's test_quit_restart.py TestQuitRestart.test_in_app_restart_with_callback with [@ js::gc::MergeCompartments] on Linux debug builds. r=backout
bdc7025503ce5c8c303c27ddcb84610ba5a84eb3: Backed out changeset 3f94cd9d95b9 (bug 1359653)
Sebastian Hengst <archaeopteryx@coole-files.de> - Sat, 06 May 2017 11:02:37 +0200 - rev 356946
Push 31776 by ihsiao@mozilla.com at Mon, 08 May 2017 03:11:58 +0000
Backed out changeset 3f94cd9d95b9 (bug 1359653)
3bd8afb673efe0c4fef4c0197f51063f94e39df0: Backed out changeset b49bd726c8a6 (bug 1359653)
Sebastian Hengst <archaeopteryx@coole-files.de> - Sat, 06 May 2017 11:02:32 +0200 - rev 356945
Push 31776 by ihsiao@mozilla.com at Mon, 08 May 2017 03:11:58 +0000
Backed out changeset b49bd726c8a6 (bug 1359653)
acad0b815fbe369cd2d40bbad04a99d673bbf46c: Backed out changeset 16259c1af36e (bug 1359653)
Sebastian Hengst <archaeopteryx@coole-files.de> - Sat, 06 May 2017 11:02:27 +0200 - rev 356944
Push 31776 by ihsiao@mozilla.com at Mon, 08 May 2017 03:11:58 +0000
Backed out changeset 16259c1af36e (bug 1359653)
8eab76fdabc5dbdaae6d3945b4f205251eea6f69: Backed out changeset 1c7df9455059 (bug 1359653)
Sebastian Hengst <archaeopteryx@coole-files.de> - Sat, 06 May 2017 11:02:23 +0200 - rev 356943
Push 31776 by ihsiao@mozilla.com at Mon, 08 May 2017 03:11:58 +0000
Backed out changeset 1c7df9455059 (bug 1359653)
4b24f4ad53473c1a4f59b9fccf42339fcf1a10af: Backed out changeset a505dcbe8a02 (bug 1359653)
Sebastian Hengst <archaeopteryx@coole-files.de> - Sat, 06 May 2017 11:02:18 +0200 - rev 356942
Push 31776 by ihsiao@mozilla.com at Mon, 08 May 2017 03:11:58 +0000
Backed out changeset a505dcbe8a02 (bug 1359653)
76dff3aac875f6684fbe80b3dde2845c5f8e2281: Backed out changeset c1b0ed47743f (bug 1359653)
Sebastian Hengst <archaeopteryx@coole-files.de> - Sat, 06 May 2017 11:02:13 +0200 - rev 356941
Push 31776 by ihsiao@mozilla.com at Mon, 08 May 2017 03:11:58 +0000
Backed out changeset c1b0ed47743f (bug 1359653)
0d8a297b55c2a061c592f166c4d41a0bc5d320ed: Backed out changeset d8dc72ab2406 (bug 1359653)
Sebastian Hengst <archaeopteryx@coole-files.de> - Sat, 06 May 2017 11:02:09 +0200 - rev 356940
Push 31776 by ihsiao@mozilla.com at Mon, 08 May 2017 03:11:58 +0000
Backed out changeset d8dc72ab2406 (bug 1359653)
58a019e485e3fef0d840ec659d779c4f937b755e: Backed out changeset 8f4637881ddc (bug 1359653)
Sebastian Hengst <archaeopteryx@coole-files.de> - Sat, 06 May 2017 11:02:04 +0200 - rev 356939
Push 31776 by ihsiao@mozilla.com at Mon, 08 May 2017 03:11:58 +0000
Backed out changeset 8f4637881ddc (bug 1359653)
75d9703cd37581c4a986bc7d80499340b7aca794: Bug 1361244 - Add an internal -moz-autofill-preview pseudo class for styling preview fields. r=heycam
Ray Lin <ralin@mozilla.com> - Thu, 04 May 2017 13:54:34 +0800 - rev 356938
Push 31776 by ihsiao@mozilla.com at Mon, 08 May 2017 03:11:58 +0000
Bug 1361244 - Add an internal -moz-autofill-preview pseudo class for styling preview fields. r=heycam MozReview-Commit-ID: 6siKEgBPTKt
263cb1626257399fd0663bd4ccc10be046933d3c: Bug 1362584 - Follow-up eslint fix for fieldValue no-unused-vars.
Matthew Noorenberghe <mozilla@noorenberghe.ca> - Sat, 06 May 2017 01:43:52 -0700 - rev 356937
Push 31776 by ihsiao@mozilla.com at Mon, 08 May 2017 03:11:58 +0000
Bug 1362584 - Follow-up eslint fix for fieldValue no-unused-vars. MozReview-Commit-ID: 8p4tOq9NwEY
60716c07ebb91561804632a7dd18420ecd04d204: Bug 1362584 - Show autofill name fields in the management/preferences UI r=scottwu
Matthew Noorenberghe <mozilla@noorenberghe.ca> - Sat, 06 May 2017 00:04:13 -0700 - rev 356936
Push 31776 by ihsiao@mozilla.com at Mon, 08 May 2017 03:11:58 +0000
Bug 1362584 - Show autofill name fields in the management/preferences UI r=scottwu MozReview-Commit-ID: 7m3sKGWfERC
7dec9c58639c7919dbbe80ddb3b91c58a90278ea: Bug 1362583 - [Form Autofill] Move autofill preferences before master password ones. r=scottwu
Matthew Noorenberghe <mozilla@noorenberghe.ca> - Sat, 06 May 2017 00:11:46 -0700 - rev 356935
Push 31776 by ihsiao@mozilla.com at Mon, 08 May 2017 03:11:58 +0000
Bug 1362583 - [Form Autofill] Move autofill preferences before master password ones. r=scottwu MozReview-Commit-ID: 9sLFeAgXmpT
bcca0465773f8a75863f35f75d6f2594df505c06: Back out bug 1357107 since it broke a feature that we have no automated tests for...
Ehsan Akhgari <ehsan@mozilla.com> - Fri, 05 May 2017 22:40:04 -0400 - rev 356934
Push 31776 by ihsiao@mozilla.com at Mon, 08 May 2017 03:11:58 +0000
Back out bug 1357107 since it broke a feature that we have no automated tests for...
8f4637881ddc42a948c894e62c8486fe8677a938: Bug 1359653: Part 9 - Observe "startupcache-invalidate" and flush the cache when received. r=erahm
Kris Maglione <maglione.k@gmail.com> - Wed, 03 May 2017 12:31:51 -0700 - rev 356933
Push 31776 by ihsiao@mozilla.com at Mon, 08 May 2017 03:11:58 +0000
Bug 1359653: Part 9 - Observe "startupcache-invalidate" and flush the cache when received. r=erahm Flushing the cache at startup is already handled automatically by the AppStartup code, which removes the entire startupCache directory when necessary. The add-on manager requires being able to flush the cache at runtime, though, for the sake of updating bootstrapped add-ons. MozReview-Commit-ID: LIdiNHrXYXu
d8dc72ab2406371cc53ba228f347815b6aea74f4: Bug 1359653: Part 8 - Ignore script cache when loading scripts in gcd script breakpoint tests. r=jimb
Kris Maglione <maglione.k@gmail.com> - Tue, 02 May 2017 17:31:05 -0700 - rev 356932
Push 31776 by ihsiao@mozilla.com at Mon, 08 May 2017 03:11:58 +0000
Bug 1359653: Part 8 - Ignore script cache when loading scripts in gcd script breakpoint tests. r=jimb MozReview-Commit-ID: DGPBK9GAqQT
c1b0ed47743f9b09376fbb88ecbd3dcbabe27265: Bug 1359653: Part 7 - Use the script preloader for loading frame scripts. r=billm
Kris Maglione <maglione.k@gmail.com> - Tue, 02 May 2017 15:16:55 -0700 - rev 356931
Push 31776 by ihsiao@mozilla.com at Mon, 08 May 2017 03:11:58 +0000
Bug 1359653: Part 7 - Use the script preloader for loading frame scripts. r=billm MozReview-Commit-ID: L0EjM0Uomfb
a505dcbe8a02bf4b4f975e62cc2b651ef7eebdd0: Bug 1359653: Part 6 - Use the script precompiler in the JS component loader and subscript loader. r=mccr8,shu
Kris Maglione <maglione.k@gmail.com> - Wed, 03 May 2017 22:06:33 -0700 - rev 356930
Push 31776 by ihsiao@mozilla.com at Mon, 08 May 2017 03:11:58 +0000
Bug 1359653: Part 6 - Use the script precompiler in the JS component loader and subscript loader. r=mccr8,shu MozReview-Commit-ID: HMl0xbAARHK
1c7df945505930d2d86a076ee20807104324c8cc: Bug 1359653: Part 5 - Pre-load scripts needed during startup in a background thread. r=shu,erahm
Kris Maglione <maglione.k@gmail.com> - Fri, 05 May 2017 16:15:04 -0700 - rev 356929
Push 31776 by ihsiao@mozilla.com at Mon, 08 May 2017 03:11:58 +0000
Bug 1359653: Part 5 - Pre-load scripts needed during startup in a background thread. r=shu,erahm One of the things that I've noticed in profiling startup overhead is that, even with the startup cache, we spend about 130ms just loading and decoding scripts from the startup cache on my machine. I think we should be able to do better than that by doing some of that work in the background for scripts that we know we'll need during startup. With this change, we seem to consistently save about 3-5% on non-e10s startup overhead on talos. But there's a lot of room for tuning, and I think we get some considerable improvement with a few ongoing tweeks. Some notes about the approach: - Setting up the off-thread compile is fairly expensive, since we need to create a global object, and a lot of its built-in prototype objects for each compile. So in order for there to be a performance improvement for OMT compiles, the script has to be pretty large. Right now, the tipping point seems to be about 20K. There's currently no easy way to improve the per-compile setup overhead, but we should be able to combine the off-thread compiles for multiple smaller scripts into a single operation without any additional per-script overhead. - The time we spend setting up scripts for OMT compile is almost entirely CPU-bound. That means that we have a chunk of about 20-50ms where we can safely schedule thread-safe IO work during early startup, so if we schedule some of our current synchronous IO operations on background threads during the script cache setup, we basically get them for free, and can probably increase the number of scripts we compile in the background. - I went with an uncompressed mmap of the raw XDR data for a storage format. That currently occupies about 5MB of disk space. Gzipped, it's ~1.2MB, so compressing it might save some startup disk IO, but keeping it uncompressed simplifies a lot of the OMT and even main thread decoding process, but, more importantly: - We currently don't use the startup cache in content processes, for a variety of reasons. However, with this approach, I think we can safely store the cached script data from a content process before we load any untrusted code into it, and then share mmapped startup cache data between all content processes. That should speed up content process startup *a lot*, and very likely save memory, too. And: - If we're especially concerned about saving per-process memory, and we keep the cache data mapped for the lifetime of the JS runtime, I think that with some effort we can probably share the static string data from scripts between content processes, without any copying. Right now, it looks like for the main process, there's about 1.5MB of string-ish data in the XDR dumps. It's probably less for content processes, but if we could save .5MB per process this way, it might make it easier to increase the number of content processes we allow. MozReview-Commit-ID: CVJahyNktKB
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 tip