Commit Graph

53105 Commits

Author SHA1 Message Date
Terrence Cole
1ae9531e7d Bug 1245485 - Only decommit newly unused Nursery Chunks; r=sfink
--HG--
extra : rebase_source : 8871c13929df711b0aa1b831c6bc41ac9185e05f
2016-02-09 15:19:37 -08:00
Terrence Cole
4ed1c831e9 Bug 1244909 - Store all persistent roots on the JSRuntime; r=sfink 2016-02-11 13:04:10 -08:00
Joel Maher
bf2ce4db2f backout Bug 1221144 for perf regression
MozReview-Commit-ID: Aete3iN6i3r
2016-02-12 04:11:10 -08:00
Nick Fitzgerald
3d702c2155 Bug 1247743 - Expose non-pinning JS_Atomize[UC]String JSAPI functions; r=terrence 2016-02-11 14:11:00 +01:00
Nick Fitzgerald
70a5002b41 Bug 1247413 - Give JS::ubi::BreadthFirst handlers a non-const reference; r=jimb 2016-02-11 07:59:00 +01:00
Johannes Schulte
ebcfc8628c Bug 1238658 - Allow setElem-accessor optimizations only for native baseHolder objects; r=efaust
--HG--
extra : rebase_source : d5577aff7d408871e0a7f72c0b89525d59d320c8
2016-01-22 22:30:44 +01:00
Lars T Hansen
320e170b75 Bug 1246768 - part 1: argument conversion for Atomics.isLockFree in runtime. r=bbouvier
--HG--
extra : rebase_source : 319c4dcaca764ec60563dc0cb9c52655de67e11a
extra : amend_source : a84e4c1aaea328f5b0615a75578f6cd349640c40
2016-02-10 19:12:44 +01:00
Jan de Mooij
5ea749bdab Bug 1246658 part 3 - Rewrite MConstant's public interface to not expose js::Value directly. r=luke 2016-02-12 08:58:31 +01:00
Jan de Mooij
0892b67c8e Bug 1246658 part 2 - Rewrite MConstant::valueToBoolean to not depend on js::Value. r=luke 2016-02-12 08:58:29 +01:00
Jan de Mooij
6b5801d0f1 Bug 1246658 part 1 - Refactor MDefinition::constantValue and friends. r=bbouvier 2016-02-12 08:58:26 +01:00
Carsten "Tomcat" Book
b054cb159a Backed out changeset 09836ef7b0f6 (bug 961323) for bustage on a CLOSED TREE
--HG--
extra : rebase_source : 80a8d58487f1e56624bd06572e09cc07e4404fe2
2016-02-12 08:41:24 +01:00
Nick Fitzgerald
649d03679a Bug 961323 - Add a method for finding shortest retaining paths of JS::ubi::Node heap graphs; r=jimb
This commit adds `JS::ubi::ShortestPaths` which can find the N shortest
retaining paths starting from some root for any number of target nodes.
2016-02-11 10:38:00 +01:00
Luke Wagner
aab7fed903 Bug 1247755 - Baldr: disallow duplicate signature table entries (r=sunfish)
MozReview-Commit-ID: 2feiq81dBKH
2016-02-11 23:28:13 -06:00
Jim Blandy
a07678a3bf Bug 1247789: Fix comment for js::Fifo DONTBUILD r=fitzgen
--HG--
extra : rebase_source : a4828b7c78104f1887813163021cd64f6d0d7f8a
2016-02-11 16:02:17 -08:00
Dan Gohman
c039df4f0e Bug 1247104 - BaldrMonkey: Parsing, encoding, and decoding for load+store. r=luke 2016-02-11 14:49:57 -08:00
Dan Gohman
2222f99356 Bug 1247104 - BaldrMonkey: Enclose most of WasmText.cpp in anonymous namespaces. r=luke 2016-02-11 14:49:55 -08:00
Dan Gohman
cbe610b4db Bug 1247104 - BaldrMonkey: Outline a method to reduce indenetation. r=luke 2016-02-11 14:49:54 -08:00
Nicholas Nethercote
931d190779 Bug 1244841 - Don't measure SharedArrayBuffer objects multiple times. r=lth.
Redoes object element measurement and reporting:

- Adds "non-heap/elements/shared", which reports a (size / refcount)
  measurement. Previously these measurements went into
  "non-heap/elements/mapped" and the full size would be erroneously reported
  for every thread sharing the buffer.

- Renames "non-heap/elements/mapped" as "non-heap/elements/normal".

- Renames "malloc-heap/elements/non-asm.js" as "malloc-heap/elements/normal".

- Leaves "{malloc,non}-heap/elements/asm.js" unchanged.

--HG--
extra : rebase_source : cd1a660000fcb95674b317098be2dfec792b2c8e
2016-02-12 09:18:46 +11:00
Christian Holler
62784ad09c Bug 1247247 - Add AFL-style wasmLoop function for persistent fuzzing. r=luke
MozReview-Commit-ID: RFQ5pqCvl6

--HG--
extra : rebase_source : 998394889ea14b6c8050941838735667ff994d3e
2016-02-11 14:55:53 +01:00
Christian Holler
0ec9d7fa1d Bug 1247247 - Factor essential wasmEval code into public helper function. r=luke
MozReview-Commit-ID: 9l3LEYFQZEy

--HG--
extra : rebase_source : 003b9dbb3d5116763005a1388686d1e27508fbce
2016-02-11 14:43:54 +01:00
Tom Schuster
f8157b31da Bug 1246318 - Remove the still disabled Reflect.enumerate code. r=efaust 2016-02-11 22:23:13 +01:00
Jon Coppeard
911e4a2d8b Bug 1242812 - Only check for simulated OOM in vectors when growing beyond reserved size r=Waldo 2016-02-11 19:00:18 +00:00
Terrence Cole
b1f5e5fb23 Bug 1247515 - Check nsScriptErrorWithStack's mStack member for null before tracing; r=mccr8 2016-02-11 10:58:02 -08:00
Nicolas B. Pierron
46adb0b68c Bug 1245162 - Return a value with the correct type. r=oops_bustage
CLOSED TREE
2016-02-11 18:18:47 +00:00
Nicolas B. Pierron
1208fb1470 Bug 1245162 - Ensure enough ballast space in ValueNumberer::visitBlock. r=sunfish 2016-02-11 17:50:53 +00:00
Nicolas B. Pierron
1b5ba99a54 Bug 1245154 - Ensure enough ballast space in LiveBundle::FallibleNew. r=h4writer 2016-02-11 17:50:53 +00:00
Nicolas B. Pierron
02d8b4524a Bug 1245152 - Ensure enough ballast space in RangeAnalysis::analyzeLoop. r=h4writer 2016-02-11 17:50:53 +00:00
Nicolas B. Pierron
f72848e7a4 Bug 1245152 - Ensure enough ballast space in RangeAnalysis::analyze. r=h4writer 2016-02-11 17:50:53 +00:00
Nicolas B. Pierron
43e2e6d10d Bug 1245152 - Ensure enough ballast space in RangeAnalysis::truncate. r=h4writer 2016-02-11 17:50:53 +00:00
Nicolas B. Pierron
aedefffd5b Bug 1245152 - Ensure enough ballast space in ::CloneForDeadBranches. r=h4writer 2016-02-11 17:50:53 +00:00
Nicolas B. Pierron
0494797da6 Bug 1245152 - Ensure enough ballast space in ::TruncateTest. r=h4writer 2016-02-11 17:50:53 +00:00
Nicolas B. Pierron
619b04f70d Bug 1245152 - Ensure enough ballast space in RangeAnalysis::addRangeAssertions. r=h4writer 2016-02-11 17:50:53 +00:00
Nicolas B. Pierron
6241410335 Bug 1243397 - Ensure enough ballast space in LiveRange::FallibleNew. r=h4writer 2016-02-11 17:50:53 +00:00
Nicolas B. Pierron
ff00f33ea1 Bug 1244828 - Ensure enough ballast space in CallPolicy::adjustInputs. r=bbouvier 2016-02-11 17:50:53 +00:00
Nicolas B. Pierron
c976d0d790 Bug 1244828 - Ensure enough ballast space in AllDoublePolicy::adjustInputs. r=bbouvier 2016-02-11 17:50:52 +00:00
Nicolas B. Pierron
b5f1f14dd5 Bug 1244828 - Ensure enough ballast space in TypeAnalyzer::adjustPhiInputs. r=h4writer 2016-02-11 17:50:52 +00:00
Nicolas B. Pierron
bbba3968cb Bug 1244828 - Ensure enough ballast space in TypeAnalyzer::adjustInputs. r=h4writer 2016-02-11 17:50:52 +00:00
Nick Fitzgerald
dbc953384a Bug 1246593 - Ensure that the element index is greater than zero for the PostWriteElementBarrier; r=jandem 2016-02-11 09:33:07 +01:00
Bogdan Postelnicu
139acc8e40 Bug 1239269 - as lastIndex cannot be negative change it's storage class from int32_t to uint32_t, r=Waldo
--HG--
extra : rebase_source : f723af7671bc493c07e100f3ad4c563c7a4af51c
2016-02-08 13:51:47 +02:00
Boris Zbarsky
fa9d6c7f85 Bug 1241349 part 1. Introduce a JS::ToJSONMaybeSafely API that's kind of like JS_Stringify but will give you a chance of not having side-effects as long as the input is nice enough. r=waldo 2016-02-10 23:31:33 -05:00
Nicholas Nethercote
462eb9a0d4 Bug 1245737 (part 2) - Don't bother measuring DtoaState. r=bhackett.
It's gone from 4,096 bytes per JS thread to 72 bytes per thread. (Also, the
old code only measured the DtoaState for the main thread.)

--HG--
extra : rebase_source : bfe0772b8c760a45ca3665e2c0939b121189520a
2016-02-05 14:50:55 +11:00
Nicholas Nethercote
608cc251e1 Bug 1245737 (part 1) - Enable |Omit_Private_Memory| for our dtoa implementation. r=bhackett.
This saves 50--60 KiB of memory per process.

--HG--
extra : rebase_source : a3dafe685d15213202c254328f7f54bc90427d0a
2016-02-05 14:50:55 +11:00
Nicholas Nethercote
8b7aa223ec Bug 1245737 (part 0) - Fix a leak in DtoaState. r=sfink.
DtoaState has a field |p5s| that stores a linked list of Bigints which never
gets freed. This patch adds freeing code for it to destroydtoa().

This has never shown up before because DtoaState currently uses a private chunk
for allocations instead of malloc/free and that private chunk does get freed.
But the next patch will turn off the use of that private chunk so we now need
to free |p5s| so that ASAN doesn't complain.

The new code follows the bizarre local style used by dtoa.c.

--HG--
extra : rebase_source : 3b731f95b7a58fe9e3b4cecc18a240ad49352448
2016-02-10 17:17:56 +11:00
Morgan Phillips
2df2806a94 Bug 1247283 - Improve self-hosted Array.sort performance; r=till
Decreasing reliance on _DefineDataProperty by using a List to store intermediate
values greatly improves performance.
2016-02-10 16:52:21 -06:00
Morgan Phillips
ab230b500a Bug 1205298 - Date.parse() should accept a wider range of potential formats; r=jandem 2016-02-08 14:15:28 -06:00
Terrence Cole
537d4adc58 Bug 1247328 - Make PersistentRooted fully support Move semantics; r=sfink
--HG--
extra : rebase_source : fb4ccb31648f27b75c3088636a9cafd0934b6082
2016-02-10 12:28:18 -08:00
Wes Kocher
b2b145c4bc Backed out changeset 4dd8573b9dd8 (bug 1243808) for hazard build failures in CFG.js
--HG--
extra : commitid : 7SHSc7figBm
2016-02-10 11:56:13 -08:00
Terrence Cole
dcd54c45e5 Bug 1246697 - Use simpler semantics for PersistentRooted<Traceable>; r=sfink
--HG--
extra : rebase_source : 4b67513c7c9b9405f06c0d633af45c1b8d971393
2016-02-10 09:48:28 -08:00
Jon Coppeard
cb077bbb33 Bug 1243808 - Allow modules to be compiled off main thread r=shu 2016-02-10 10:31:02 +00:00
Benjamin Bouvier
9d724cbe13 Bug 1240583: Fix non-unified build for fuzzers; r=luke
--HG--
extra : commitid : 5gtrYlu6vO
extra : rebase_source : 348616b3318a399d518fd991014c26334a261d81
2016-02-10 18:24:17 +01:00