Commit Graph

41811 Commits

Author SHA1 Message Date
Jon Coppeard
c6bd51ade4 Bug 1191576 - Fix JIT invalidation spew to work when called while compacting r=terrence 2015-09-22 14:03:19 +01:00
Jon Coppeard
3949b02d30 Bug 1206677 - Fix the NoGC version of NewStringCopyNDontDeflate() to not report error on failure r=jandem 2015-09-22 14:03:19 +01:00
Andrea Marchesini
69640d7c3e Bug 1203561 - Use StructuredCloneHelper in StackScopedCloneData, r=smaug 2015-09-22 12:54:34 +01:00
Carsten "Tomcat" Book
66b1d84fe2 Merge mozilla-central to mozilla-inbound 2015-09-22 12:49:44 +02:00
Carsten "Tomcat" Book
f8abba90f1 merge mozilla-inbound to mozilla-central a=merge 2015-09-22 12:35:13 +02:00
sajitk
1e11b76039 Bug 1205744 - Removed redundant method IsContextRunningJS. r=h4writer 2015-09-18 20:18:00 +02:00
Nicolas B. Pierron
f19ac0244e Bug 1204726 - Make sure that the MacroAssembler is no longer rooted when onIonCompilation is called. r=h4writer 2015-09-16 10:37:00 +02:00
Tooru Fujisawa
84ac706c98 Bug 773687 - Fix assertion pattern in RegExp with sticky flag. r=till 2015-09-20 00:00:36 +09:00
J. Ryan Stinnett
79ff031964 Bug 912121 - Update misc. DevTools paths and comments. rs=devtools 2015-09-21 12:07:31 -05:00
J. Ryan Stinnett
1fcbd86174 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.
2015-09-21 12:04:18 -05:00
Tooru Fujisawa
0d1627e04e Bug 1203964 - Part 5: Move MacroAssembler::lshift64 into generic macro assembler. r=sstangl 2015-09-13 07:33:35 +09:00
Tooru Fujisawa
d5b33b307e Bug 1203964 - Part 4: Move MacroAssembler::lshiftPtr into generic macro assembler. r=nbp 2015-09-13 07:33:35 +09:00
Tooru Fujisawa
0b371fdf67 Bug 1203964 - Part 3: Move MacroAssembler::rshift64 into generic macro assembler. r=hev 2015-09-12 11:16:25 +09:00
Tooru Fujisawa
c886d69db4 Bug 1203964 - Part 2: Move MacroAssembler::rshiftPtrArithmetic into generic macro assembler. r=jandem 2015-09-12 11:11:39 +09:00
Tooru Fujisawa
6dc05174a5 Bug 1203964 - Part 1: Move MacroAssembler::rshiftPtr into generic macro assembler. r=h4writer 2015-09-12 11:01:17 +09:00
Bobby Holley
bb74856497 Bug 1206817 - Take ownership of error reporting in the component loader. r=bz 2015-09-21 17:05:59 -07:00
Kannan Vijayan
599f427f33 Bug 1084009 - Part 1/3 - Parse sync scripts off the main thread. r=smaug 2015-09-21 19:07:01 -04:00
Eric Faust
11369d5cef Bug 1192412 - Followup: Unbreak js1_8_5/reflect-parse/classes.js, erroneously neutered. (rs=jorendorff) 2015-09-21 15:40:25 -07:00
Jeff Walden
5205e57e71 Bug 1187234 - Throw a TypeError when Array.isArray is passed a revoked proxy. r=efaust 2015-08-23 01:10:24 -07:00
Jeff Walden
905e9955b1 Bug 1206300 - Allow immutable prototypes to be disabled at compile time with a single-line change, but don't actually disable them. r=jorendorff 2015-09-18 17:16:08 -07:00
Jeff Walden
4e04023a70 Bug 1205586 - new Date().toLocale{,Date,Time}String() should return appropriately differing strings as the local time zone/default locale change. r=till 2015-09-18 17:16:08 -07:00
Terrence Cole
b199b2269a Bug 1188290 - Remove an incomplete assertion about store buffer state; r=jandem 2015-09-21 09:41:29 -07:00
Jan de Mooij
8abb88a748 Bug 683218 - Disable __noSuchMethod__ support. r=jorendorff 2015-09-21 19:53:36 +02:00
Jim Blandy
a6f32c41c6 Bug 1206590: Move gcWeakMapList from JSCompartment to JS::Zone. r=terrence 2015-09-18 23:07:34 -07:00
Tooru Fujisawa
c8d15b8072 Bug 774364 - Part 4: Add setRNGState testing function. r=sstangl 2015-08-07 07:42:17 +09:00
Tooru Fujisawa
58eb94f9e9 Bug 774364 - Part 3: Move Math.random() to macro assembler. r=sstangl,hev,nbp, f=rankov 2015-08-07 07:41:16 +09:00
Tooru Fujisawa
1c298d3d25 Bug 774364 - Part 2: Move architecture specific function from BaseAssembler-x86-shared.h to BaseAssembler-x86.h and BaseAssembler-x64.h. r=sstangl 2015-08-07 07:39:12 +09:00
Christoph Kerschbaumer
f8a544c44d Bug 1206149 - Use channel->AsyncOpen2() js/xpconnect/loader/mozJSSubScriptLoader.cpp (r=sicking) 2015-09-19 20:26:09 -07:00
Mike Hommey
3ef8be4fa4 Bug 1203840 - Trigger dirty pages purge after CC. r=njn,r=smaug,r=mccr8
Jemalloc 4 purges dirty pages regularly during free() when the ratio of dirty
pages compared to active pages is higher than 1 << lg_dirty_mult.  We set
lg_dirty_mult in jemalloc_config to limit RSS usage, but it also has an impact
on performance.

So instead of enforcing a high ratio to force more pages being purged, we keep
jemalloc's default ratio of 8, and force a regular purge of all dirty pages,
after cycle collection.

Keeping jemalloc's default ratio avoids cycle-collection-triggered purge to
have to go through really all dirty pages when there are a lot, in which case
the normal jemalloc purge during free() will already have kicked in. It also
takes care of everything that doesn't run the cycle collector still having
a level of purge, like plugins in the plugin-container.

At the same time, since jemalloc_purge_freed_pages does nothing with jemalloc 4,
repurpose the MEMORY_FREE_PURGED_PAGES_MS telemetry probe to track the time
spent in this cycle-collector-triggered purge.
2015-09-20 17:43:43 +09:00
Brian Hackett
ba0345b3a2 Backout d29fef133d8a for octane regressions. 2015-09-19 14:46:48 -06:00
Jan de Mooij
cdf61c0b32 Bug 1204073 - Optimize GETELEM with constant string-or-symbol index better in Ion. r=bhackett 2015-09-19 21:00:03 +02:00
Brian Hackett
191e9699ef Bug 1206265 - Add missing increment operations, r=jandem. 2015-09-19 12:44:39 -06:00
Jan de Mooij
0a8a1d6c52 Bug 1203791 - Fix LazyLink issue with Debugger::onIonCompilation. r=h4writer 2015-09-19 20:00:40 +02:00
Jan de Mooij
72b1474f2c Bug 1201850 - Don't elide stack check when getelem/setelem caches are used. r=bhackett 2015-09-19 20:00:16 +02:00
Jan de Mooij
0956ce920d Bug 1199175 - Fix Debugger::slowPathOnLeaveFrame to remove the frame on OOM too. r=shu 2015-09-19 20:00:14 +02:00
Brian Hackett
ffc566e9ff Bug 1198861 - Improve type barrier logic to avoid unnecessary tests on primitive types, and fix redundant baseline stubs for SETELEM property adds, r=jandem. 2015-09-19 10:40:22 -06:00
Jon Coppeard
33bc06cccb Bug 1201057 - Update shell args for OOM tests now we don't have to worry about unhandlable OOMs r=terrence 2015-09-21 14:31:51 +01:00
Jon Coppeard
0accf9e012 Bug 1201057 - Use AutoEnterOOMUnsafeRegion in places where we can't handle OOM r=terrence 2015-09-21 14:31:51 +01:00
Jon Coppeard
bb1430f25b Bug 1201057 - Move AutoEnterOOMUnsafeRegion to Utility.h with the other OOM simulation infrastructure r=terrence 2015-09-21 14:31:51 +01:00
Benjamin Bouvier
8a8d234593 Bug 1206640: Fix an implicit constructor in PosixNSPR.cpp; r=nbp 2015-09-16 17:10:13 +02:00
Benjamin Bouvier
a422274837 Bug 1205842: Don't add range asserts to recovered on bailouts instructions; r=nbp 2015-09-18 09:02:03 +02:00
Benjamin Bouvier
69712d86d1 Bug 1204604: Check for int32 value, not int32 type, in SIMD.T.{replaceLane,shuffle,swizzle}; r=lth 2015-09-21 12:52:53 +02:00
Heiher
52a3af678b Bug 1206591 - IonMonkey: MIPS32: Move LIRGeneratorMIPS::visitRandom to architecture-specific. r=arai
---
 js/src/jit/mips-shared/Lowering-mips-shared.cpp | 11 -----------
 js/src/jit/mips-shared/Lowering-mips-shared.h   |  1 -
 js/src/jit/mips32/Lowering-mips32.h             |  1 +
 3 files changed, 1 insertion(+), 12 deletions(-)
2015-09-22 00:32:17 +08:00
Heiher
ee46c051cf Bug 1205921 - IonMonkey: MIPS32: Fix scratch register in MacroAssembler::memIntToValue. r=evilpie
---
 js/src/jit/mips32/MacroAssembler-mips32.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2015-09-22 00:32:09 +08:00
Carsten "Tomcat" Book
f7c50747c4 Backed out 1 changesets (bug 984018) for bustage
Backed out changeset 7cbb158c2c9b (bug 984018)
2015-09-21 08:54:53 +02:00
Victor Carlquist
913c915588 Bug 984018 - Fixed build on Arm64; r=nbp 2015-09-17 09:24:36 -03:00
Jim Blandy
d3fdd49cf4 Bug 1200482: Make Debugger respect 'enabled' flag when setting allocation tracking hook on debuggee compartments, and check that it does. r=fitzgen 2015-08-31 17:34:49 -07:00
Heiher
a12546643f Bug 1205917 - IonMonkey: MIPS32: Use rshiftPtrArithmetic in clampIntToUint8. r=arai
---
 js/src/jit/mips32/MacroAssembler-mips32.cpp | 25 +++++++++++++++++++++++++
 js/src/jit/mips32/MacroAssembler-mips32.h   | 23 +----------------------
 2 files changed, 26 insertions(+), 22 deletions(-)
2015-09-21 21:48:53 +08:00
Nick Fitzgerald
34d1fde7e6 Bug 1204584 - Ensure that entries created by AutoSPSEntry propogate their category information; r=djvj
This commit renames ProfileEntry::set{Js,Cpp}Frame methods to
ProfileEntry::init{Js,Cpp}Frame to highlight the fact that they are intended to
initialize the entry, and that setting other flags should happen after one of
these calls.
2015-09-19 11:19:07 +02:00
Kan-Ru Chen
fe9476ef9c Bug 1205255 - Force inline and use relaxed atomic. r=terrence 2015-09-19 13:29:34 +08:00