Commit Graph

50917 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
668ebc2ff2 Bug 1206149 - Use channel->AsyncOpen2() js/xpconnect/loader/mozJSSubScriptLoader.cpp (r=sicking) 2015-09-19 20:26:09 -07:00
Mike Hommey
538706caba 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
e76fb387ee Backout d29fef133d8a for octane regressions. 2015-09-19 14:46:48 -06:00
Jan de Mooij
54366d34b4 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
1e0c0f6319 Bug 1206265 - Add missing increment operations, r=jandem. 2015-09-19 12:44:39 -06:00
Jan de Mooij
eee51a81be Bug 1203791 - Fix LazyLink issue with Debugger::onIonCompilation. r=h4writer 2015-09-19 20:00:40 +02:00
Jan de Mooij
e51d81ee75 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
cee00a968a Bug 1199175 - Fix Debugger::slowPathOnLeaveFrame to remove the frame on OOM too. r=shu 2015-09-19 20:00:14 +02:00
Brian Hackett
42b1701245 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
Nick Fitzgerald
8098307c50 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
2f53a68cb8 Bug 1205255 - Force inline and use relaxed atomic. r=terrence 2015-09-19 13:29:34 +08:00
Terrence Cole
5da7dbdb73 Bug 1205054 - Remove isNullLike and other imprecise null checks; r=sfink 2015-09-16 11:19:44 -07:00
Nick Fitzgerald
13e4da0954 Bug 1074935 - Add SPS pseudo frames for JSRope flattening; r=jandem 2015-09-18 12:49:10 -07:00
Nick Fitzgerald
c0d3a62244 Bug 1204169 - Push SPS pseudo frame entries when GCing; r=terrence 2015-09-18 12:49:09 -07:00
Eric Faust
53266494e0 Bug 1203733 - Fix emitting super.prop1.prop2. (r=jorendorff) 2015-09-18 09:23:21 -07:00
Hannes Verschore
793a8a2c48 Bug 1204675: IonMonkey - Don't specialize using baseline stubs for strict equality, r=jandem 2015-09-18 17:27:07 +02:00
Hannes Verschore
174e4b5a99 Bug 1204675: IonMonkey - Replace input with constant in a tableswitch, r=jandem 2015-09-18 17:27:05 +02:00
Jan de Mooij
3d0e19298e Bug 1204025 - Change Symbol.length to be 0 instead of 1. r=jorendorff
--HG--
extra : rebase_source : 9097f96c245a71284457b07497f1be065eb628cc
2015-09-18 11:23:01 +02:00
Tom Schuster
e3fbb8bc43 Bug 603201 - Change GetProperty receiver argument to Value in the browser. r=smaug 2015-09-18 00:14:41 +02:00
Tom Schuster
98ae187a52 Bug 603201 - Change GetProperty receiver argument to Value in JS. r=efaust 2015-09-18 00:14:33 +02:00
Wes Kocher
5f70fae987 Backed out 2 changesets (bug 1204169, bug 1074935) for Werror bustage CLOSED TREE
Backed out changeset b4621131ea01 (bug 1074935)
Backed out changeset 14dbd30e63af (bug 1204169)
2015-09-17 13:58:15 -07:00
Nick Fitzgerald
3e52d7cc21 Bug 1074935 - Add SPS pseudo frames for JSRope flattening; r=jandem 2015-09-17 12:51:00 -07:00
Nick Fitzgerald
83ed1d9024 Bug 1204169 - Push SPS pseudo frame entries when GCing; r=terrence 2015-09-17 12:51:00 -07:00
Benjamin Bouvier
32752ace7c Bug 1181612: Split AsmJSValidate into AsmJS{Validate,Compile} and different headers; r=luke
--HG--
extra : commitid : 6phV7Jjrd6w
extra : rebase_source : 34a0664ef5e0d62785adabd6a3291f31ef6056ca
2015-09-16 19:30:23 +02:00
Benjamin Bouvier
04bd01241d Bug 1205328: undef min/max at the top of irregexp/RegExpAST.h if they're already defined; r=ehsan
--HG--
extra : commitid : IUMVPkcozaG
extra : rebase_source : ab9efea6f8651ac254085d3bf033323bdbfc9e98
2015-09-16 18:00:34 +02:00
Jakob Olesen
8da6573d15 Bug 1204692 - Add arm64-sim variant to the autospider.sh script. r=sstangl
Build with --enable-sim=arm64. Don't run any tests beyond "make check".
The ARM64 JIT is not yet up to it.
2015-09-15 14:31:00 +02:00
Hannes Verschore
75548be5e0 Bug 1204725 - IonMonkey: Check result when copying frame iter data, r=nbp 2015-09-17 09:21:42 +02:00
Hannes Verschore
2653d7d935 Bug 1204866 - IonMonkey: Crash when failing to apand to parse finished list, r=bhackett 2015-09-17 09:21:40 +02:00
Nicholas Nethercote
647b520991 Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8.
--HG--
rename : xpcom/glue/pldhash.cpp => xpcom/glue/PLDHashTable.cpp
rename : xpcom/glue/pldhash.h => xpcom/glue/PLDHashTable.h
extra : rebase_source : 06b9d30db96ed78500fd44d9c0b51609103508a3
2015-09-15 20:49:53 -07:00
Eric Faust
cb66cd4258 Bug 1204402 - Fix export-entries.js and module-environment.js to not fail when classes are disabled, r=jorendorff
--HG--
extra : rebase_source : ae906d851b6ff4a66b22978d4c0111d2eb5fb0e7
2015-09-16 13:03:00 -07:00
Tooru Fujisawa
fc911293ee Bug 1165011 - Remove Symbol_isRegExp. r=jorendorff
--HG--
extra : rebase_source : ce22dcc8417877c2f9ea0fe5b7cb9121fe603d98
2015-05-31 04:37:43 +09:00
Tooru Fujisawa
07402e6111 Bug 1022369 - Correctly execute |Function("var x\n/regex/g")| without throwing a SyntaxError. r=Waldo
--HG--
extra : rebase_source : 6de4e284875cfc91bd3af9adf1e3cc4ace87683c
2015-09-12 09:12:50 +09:00
Tooru Fujisawa
c74c476208 Bug 1204368 - Fix modifier used for ASI after do-while. r=Waldo
--HG--
extra : rebase_source : 1d9a548e2731ac15ca70c2159a0722378adb1c36
2015-09-12 09:26:01 +09:00
Tooru Fujisawa
32ed91fff3 Bug 1203963 - Part 1: Call test_syntax in syntax-error-illegal-character.js. r=Waldo
--HG--
rename : js/src/jit-test/tests/basic/syntax-error-illegal-character.js => js/src/jit-test/tests/parser/syntax-error-illegal-character.js
extra : rebase_source : f9f3f2a07e2a60c4a5cc792489d6afb0d31afc71
2015-09-11 23:33:12 +09:00
Tooru Fujisawa
887023599b Bug 1203963 - Part 0: Support Reflect.parse with module in parser test. r=Waldo
--HG--
extra : rebase_source : da57a034012f17e23fbda45afa2e4a9c075e5389
2015-09-12 00:05:38 +09:00
Jeff Walden
3753500541 Bug 1204027 - Followup to fix a hazard, and (conveniently enough) to also make a minor cleanup enabled by the fix. r=bustage
--HG--
extra : rebase_source : 8d5ac788d28bcc91d1425601e663cb3a325c6b51
2015-09-16 17:31:14 -07:00
Jeff Walden
3865615d09 Bug 920479 - Properly convert all arguments to the Function constructor to strings before parsing out an arguments list for the function to be created. r=arai
--HG--
extra : rebase_source : 0e17f04d327ebc007dcc92aef8bf356d93f13e8b
2015-09-16 13:39:37 -07:00
Jeff Walden
4ef4061b96 Bug 1204027 - Forbid escapes within keywords when parsing/tokenizing. r=arai
--HG--
extra : rebase_source : 3def5ff0e7e6a2e2e6490c8d9b700dc7fa98a630
2015-09-14 14:11:26 -07:00
Jeff Walden
4695fc0edc Bug 1204027 - Rejigger export-parsing code to make a subsequent change simpler. r=arai
--HG--
extra : rebase_source : f8ce66934709b5b3984bbbdf09654987f1d64a24
2015-09-16 13:36:10 -07:00
Nicolas B. Pierron
0b107f9b8a Bug 1203695 - GenerateLcovInfo: Check if JSScripts have associated bytecode before spewing their content. r=bhackett 2015-09-16 21:11:36 +02:00
Nicolas B. Pierron
64c0db4ea9 Bug 1176880 part 3 - Debugger.Script.getOffsetsCoverage: Add documentation. r=shu 2015-09-16 21:11:35 +02:00
Nicolas B. Pierron
e9e0015186 Bug 1176880 part 2 - Add Debugger.Script.getOffsetsCoverage. r=shu
--HG--
rename : js/src/jit-test/tests/coverage/simple.js => js/src/jit-test/tests/debug/Script-getOffsetsCoverage-01.js
2015-09-16 21:11:35 +02:00
Nicolas B. Pierron
b2aebab5f5 Bug 1176880 part 1 - Add a flag on the Debugger & Compartment to record code-coverage information. r=shu 2015-09-16 21:11:34 +02:00
Christoph Kerschbaumer
cd033a0e00 Bug 1205154 - Use channel->Open2() in js/xpconnect/src/XPCJSRuntime.cpp (r=sicking) 2015-09-15 19:52:07 -07:00
Nicolas B. Pierron
5f6a01f344 Bug 1199171 part 1 - Assembler::GetCF32Target: Decode instructions as needed. r=h4writer 2015-09-16 20:10:57 +02:00
Nicolas B. Pierron
a61fb2159f Bug 1199171 part 0 - Add spewInst function for debugging Jit code. r=lth 2015-09-16 20:10:57 +02:00
Benjamin Bouvier
539e639d7a Bug 1204847: Reinterpret the asmFunc pointer as an AsmFunction in case of offthread compile error; r=luke
--HG--
extra : commitid : I14ORiegKKz
extra : rebase_source : 9d0406506d630262e4d806b15519955b914e227e
2015-09-15 19:21:06 +02:00
Luke Wagner
64685d1397 Bug 1204864 - Odin: reject UINT32_MAX heap resize mask. r=bbouvier
--HG--
extra : rebase_source : 5dcf80f286b5a0f243c8fd3812c05015bc960c14
2015-09-15 08:33:00 +02:00
Kan-Ru Chen
16cae3c6c6 Bug 1123237 - Part 12. Fix GC hazards. r=terrence 2015-09-16 10:31:14 +08:00
Kan-Ru Chen
22e4adba22 Bug 1123237 - Part 5. Don't emit inline allocation when memory profiler enabled. r=terrence
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-09-16 10:31:11 +08:00