a407c3c5ec9360b25b9fd54086e00f4a98fb96d2: Merge m-c to inbound, a=merge CLOSED TREE
Wes Kocher <wkocher@mozilla.com> - Tue, 20 Oct 2015 15:28:33 -0700 - rev 268676
Push 29559 by cbook@mozilla.com at Wed, 21 Oct 2015 13:33:00 +0000
Merge m-c to inbound, a=merge CLOSED TREE
f7e6d2a69f8c3b9ec43336aeb42e530690163a92: Backed out changeset df12438d4091 (bug 1189581) for wpt failures CLOSED TREE
Wes Kocher <wkocher@mozilla.com> - Tue, 20 Oct 2015 15:09:17 -0700 - rev 268675
Push 29559 by cbook@mozilla.com at Wed, 21 Oct 2015 13:33:00 +0000
Backed out changeset df12438d4091 (bug 1189581) for wpt failures CLOSED TREE
73f8bb57540110d2b80fa3ccc4dbf936fa394e39: Backed out changeset a9a241b0c121 (bug 1207827) for Windows SM bustage CLOSED TREE
Wes Kocher <wkocher@mozilla.com> - Tue, 20 Oct 2015 13:53:27 -0700 - rev 268674
Push 29559 by cbook@mozilla.com at Wed, 21 Oct 2015 13:33:00 +0000
Backed out changeset a9a241b0c121 (bug 1207827) for Windows SM bustage CLOSED TREE
c7cedbb6e3fb4662698c587bfad980d1113485ff: Bug 1213721 - Tracking bug for migration from ftp.m.o to S3, r=rail
Nick Thomas <nthomas@mozilla.com> - Wed, 21 Oct 2015 09:32:56 +1300 - rev 268673
Push 29559 by cbook@mozilla.com at Wed, 21 Oct 2015 13:33:00 +0000
Bug 1213721 - Tracking bug for migration from ftp.m.o to S3, r=rail
df12438d4091e89409a5449b067867e57c24858b: Bug 1189581 - Make service-workers/service-worker/fetch-cors-xhr.https.html pass; r=bkelly
Ehsan Akhgari <ehsan@mozilla.com> - Tue, 20 Oct 2015 09:41:49 -0400 - rev 268672
Push 29559 by cbook@mozilla.com at Wed, 21 Oct 2015 13:33:00 +0000
Bug 1189581 - Make service-workers/service-worker/fetch-cors-xhr.https.html pass; r=bkelly
828b2b47a4db350bff9d646535e8169a21ecd610: Bug 1213567: Prevent neutering from occurring during CreateWindow(Ex) calls; r=jimm
Aaron Klotz <aklotz@mozilla.com> - Sat, 17 Oct 2015 13:28:53 -0600 - rev 268671
Push 29559 by cbook@mozilla.com at Wed, 21 Oct 2015 13:33:00 +0000
Bug 1213567: Prevent neutering from occurring during CreateWindow(Ex) calls; r=jimm
a9a241b0c121d47f4fe71a9cdd3feeb7cc552dee: Bug 1207827 - Delete Assembler::actualOffset() and transitive closure. r=nbp
Jakob Olesen <jolesen@mozilla.com> - Tue, 20 Oct 2015 12:57:40 -0700 - rev 268670
Push 29559 by cbook@mozilla.com at Wed, 21 Oct 2015 13:33:00 +0000
Bug 1207827 - Delete Assembler::actualOffset() and transitive closure. r=nbp The implemetation of Assembler::actualOffset() is now a no-op in all targets, and it is no longer necessary to rewrite assembler buffer offsets to their final form after finishing the assembler buffer. - Delete Assembler::actualOffset() in all targets. - Delete AsmJSModule::CodeRange::updateOffsets(). - Delete AsmJSModule::updateCodeOffset(). - Delete AsmJSModule::updateOffsets(). - Delete CodeOffsetLabel::fixup(). - Delete ICEnty::fixupReturnOffset(). - Delete LSafepoint::fixupOffset(). - Delete OsiIndex::fixUpOffset(). - Delete PCMappingEntry::fixupNativeOffset(). Also delete all code calling these functions.
ed9a39da785ec492ef68e1369240de4117007965: Bug 1207827 - Remove ARM temporary offset buffers. r=nbp
Jakob Olesen <jolesen@mozilla.com> - Tue, 20 Oct 2015 12:57:39 -0700 - rev 268669
Push 29559 by cbook@mozilla.com at Wed, 21 Oct 2015 13:33:00 +0000
Bug 1207827 - Remove ARM temporary offset buffers. r=nbp The ARM assembler no longer needs to keep track of code offsets for later translation to 'actual' offsets. The AssemblerBuffer offsets are directly usable now. Remove tmpDataRelocations_, tmpPreBarriers_, and tmpJumpRelocations_.
d518935ddd2e7fb08b267b97d1bd31d68b55e8ae: Bug 1207827 - Remove ARM64 temporary offset buffers. r=nbp
Jakob Olesen <jolesen@mozilla.com> - Tue, 20 Oct 2015 12:57:39 -0700 - rev 268668
Push 29559 by cbook@mozilla.com at Wed, 21 Oct 2015 13:33:00 +0000
Bug 1207827 - Remove ARM64 temporary offset buffers. r=nbp The ARM64 assembler no longer needs to keep track of code offsets for later translation to 'final' offsets. The AssemblerBuffer offsets are directly usable now. Remove tmpDataRelocations_, tmpPreBarriers_, tmpJumpRelocations_, and the finalOffset() method.
a77d26defefc0f3dcafff2dc5810d7455262c136: Bug 1207827 - Eliminate poolSizeBefore(). r=nbp
Jakob Olesen <jolesen@mozilla.com> - Tue, 20 Oct 2015 12:57:39 -0700 - rev 268667
Push 29559 by cbook@mozilla.com at Wed, 21 Oct 2015 13:33:00 +0000
Bug 1207827 - Eliminate poolSizeBefore(). r=nbp This method was used by the Assembler::actualOffset() methods to translate buffer offsets from pre-pool to post-pool numbers. Since pools are now injected immediately, there is no need to translate offsets. All the actualOffset() methods have become no-ops in all our supported targets.
0ea4e13f313d26d34cb1762d1781a53153020800: Bug 1207827 - Switch jit::Pool to a LifoAllocPolicy. r=nbp
Jakob Olesen <jolesen@mozilla.com> - Tue, 20 Oct 2015 12:57:39 -0700 - rev 268666
Push 29559 by cbook@mozilla.com at Wed, 21 Oct 2015 13:33:00 +0000
Bug 1207827 - Switch jit::Pool to a LifoAllocPolicy. r=nbp This is possible because we no longer PodCopy the pools. Use a more reasonable size for the inline memory in the loadOffsets vector (8 loads instead of 512). This saves stack space when a MacroAssembler is created on the stack. Use a matching inline size of 8 entries for the poolData array itself. Don't drop memory in Pool::reset() by calling placement new - call Vector::clear() instead which hangs on to previously allocated memory for use by the next pool. Delete an unused array of pools in arm64/vixl/MozBaseAssembler-vixl.h.
4e69844a11f63c3af21f471219d9fce622d88d70: Bug 1207827 - Use a Vector for poolInfo_. r=nbp
Jakob Olesen <jolesen@mozilla.com> - Tue, 20 Oct 2015 12:57:39 -0700 - rev 268665
Push 29559 by cbook@mozilla.com at Wed, 21 Oct 2015 13:33:00 +0000
Bug 1207827 - Use a Vector for poolInfo_. r=nbp Use a Vector with 8 preallocated slots and a LifoAllocPolicy allocating from the parent AssemblerBuffer's lifoAlloc_. We'll rarely need more than 8 constant pools in a single assembler. We can't actually allocate memory from this->lifoAlloc_ in the constructor, but it is OK to capture allocator references like the Vector constructor does. Add an assertion to initWithAllocator() to verify that we didn't allocate anything from lifoAlloc_ before the MacroAssembler constructor had a chance to install an AutoJitContextAlloc.
26d2719ea5d70c11ce7ee596ea3146b616c0de48: Bug 1207827 - Stop perforating AssemblerBuffers. r=nbp
Jakob Olesen <jolesen@mozilla.com> - Tue, 20 Oct 2015 12:57:39 -0700 - rev 268664
Push 29559 by cbook@mozilla.com at Wed, 21 Oct 2015 13:33:00 +0000
Bug 1207827 - Stop perforating AssemblerBuffers. r=nbp There is no longer a 1-1 correspondence between buffer slices and constant pools. We no longer need the ability to truncate a buffer slice prematurely. This uses less memory.
771f58704ac96b3797dc2f32e287ab70fc2edeb7: Bug 1207827 - Copy pool data into buffer immediately. r=nbp
Jakob Olesen <jolesen@mozilla.com> - Tue, 20 Oct 2015 12:57:39 -0700 - rev 268663
Push 29559 by cbook@mozilla.com at Wed, 21 Oct 2015 13:33:00 +0000
Bug 1207827 - Copy pool data into buffer immediately. r=nbp Since constant pools have been simplified such that they always follow the load instructions referencing them, it is now possible to copy the pool data into the main assembly buffer right away in finishPool() instead of deferring the copy to executableCopy(). This has the important effect that BufferOffset values don't need to be adjusted to account for the size of injected constant pools. - In finishPool(), copy the constant pool data into the main assembler buffer with putBytesLarge() which allows the potentially large pool data to be split over multiple slices. - Stop copying pool data in executableCopy(). It has already been copied in finishPool(). - Simplify the PoolInfo data structure to a simple (firstEntry, offset) pair which records the necessary information about a single emitted constant pool. - Rewrite poolEntryOffset() to use the new PoolInfo data. - Simplify poolSizeBefore() to just return 0. This function will be removed entirely in a followup patch. - Stop patching branches in executableCopy() and delete the patchBranch() method. Since buffer offsets are reliable when the branches are inserted and when labels are bound, there is no need to adjust branches to account for constant pools. - Delete the BufferSliceTail class. It is no longer necessary to maintain a bit vector of branch instructions since we don't rewrite branches any longer. Use the plain AssemblerBuffer::Slice class instead. This patch implements the basic functional change of copying pool data immediately instead of deferring it. Followup patches will clean up the now redundant code.
97050efd681eca7e99fd900279ba1dc052373de1: Bug 1207827 - Fix ARM64 OOM bugs in Assembler::bind(). r=nbp
Jakob Olesen <jolesen@mozilla.com> - Tue, 20 Oct 2015 12:57:39 -0700 - rev 268662
Push 29559 by cbook@mozilla.com at Wed, 21 Oct 2015 13:33:00 +0000
Bug 1207827 - Fix ARM64 OOM bugs in Assembler::bind(). r=nbp
5e6973f92d22078b8cb4f81227114df37242391a: Bug 1207827 - Fix OOM error in ARM64 simulator. r=nbp
Jakob Olesen <jolesen@mozilla.com> - Tue, 20 Oct 2015 12:57:38 -0700 - rev 268661
Push 29559 by cbook@mozilla.com at Wed, 21 Oct 2015 13:33:00 +0000
Bug 1207827 - Fix OOM error in ARM64 simulator. r=nbp
3175d41f0acf0d01699e5b8c1d433089a260e36c: Bug 1207827 - Add AssemblerBuffer::putBytesLarge. r=nbp
Jakob Olesen <jolesen@mozilla.com> - Tue, 20 Oct 2015 12:57:38 -0700 - rev 268660
Push 29559 by cbook@mozilla.com at Wed, 21 Oct 2015 13:33:00 +0000
Bug 1207827 - Add AssemblerBuffer::putBytesLarge. r=nbp This new method copies a large amount of data into the assembler buffer, potentially splitting it across multiple slices. The existing putBytes() method can only copy into a single slice which limits the maximum since of data that can be inserted and potentially wastes space at the end of the previous slice.
76b54ac73786eb8f095531680db0651078b6ce98: Bug 1215814 - Small ThrowIfNotConstructing cleanup. r=efaust
Tom Schuster <evilpies@gmail.com> - Tue, 20 Oct 2015 22:05:10 +0200 - rev 268659
Push 29559 by cbook@mozilla.com at Wed, 21 Oct 2015 13:33:00 +0000
Bug 1215814 - Small ThrowIfNotConstructing cleanup. r=efaust
a2c2e50e4785aeb549110b941e7c66c60ffc50ad: Bug 918771 - Part 3: Update Web Platform tests to check for correct behavior, r=bz
Michael Layzell <michael@thelayzells.com> - Wed, 23 Sep 2015 13:36:55 -0400 - rev 268658
Push 29559 by cbook@mozilla.com at Wed, 21 Oct 2015 13:33:00 +0000
Bug 918771 - Part 3: Update Web Platform tests to check for correct behavior, r=bz
481163317b0a44232062f2cd23b703e90dd9a6a6: Bug 918771 - Part 2: Send text/html as MIME type for XHR send() of HTML document, r=bz
Michael Layzell <michael@thelayzells.com> - Wed, 23 Sep 2015 13:31:33 -0400 - rev 268657
Push 29559 by cbook@mozilla.com at Wed, 21 Oct 2015 13:33:00 +0000
Bug 918771 - Part 2: Send text/html as MIME type for XHR send() of HTML document, r=bz
(0) -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip