Ms2ger
fd060cc935
Bug 726960 - Introduce xpc::NonVoidStringToJsval; r=bholley
2012-02-21 10:34:02 +01:00
Dão Gottwald
9e444afb9d
Bug 572659 - Don't expose the Gecko patch level (13.X.Y) in the UA string, only show the major version (13.X). r=glandium,bz sr=gerv
2012-02-21 04:29:09 +01:00
Justin Dolske
c7c7e39e9e
Backout 0a7410527788 (bug 572659), UA change breaks Google and Zimbra.
2012-02-20 16:29:36 -08:00
Dão Gottwald
db675026d9
Bug 572659 - Don't expose the Gecko patch level (13.X.Y) in the UA string, only show the major version (13.X). r=glandium,bz sr=gerv
2012-02-20 15:39:33 +01:00
Ed Morley
90bfe67efa
Merge mozilla-central to mozilla-inbound
2012-02-22 01:28:34 +00:00
Bill McCloskey
7cd19789c8
Bug 728686 - JS_NewPropertyIterator shouldn't disable IGC (r=igor)
2012-02-21 17:04:53 -08:00
Nicholas Nethercote
9472d29e81
Bug 702300 (part 8) - Add about:compartments. r=jlebar, ehsan.
...
--HG--
extra : rebase_source : ad9de010f0b51d5ae7d74b8cbc04c8748767ec0b
2012-02-16 22:10:39 -08:00
Nicholas Nethercote
8c5fa06ee5
Bug 702300 (part 7) - Add the "compartments" multi-reporter. r=billm.
...
--HG--
extra : rebase_source : e45e59bd8657197dbd61c257f46ad6396cdda3c3
2012-02-16 22:10:39 -08:00
Jeff Walden
a3aa8b54d1
Bug 728423 - Fix warnings in js/src related to JSObject::asString et al (r=luke)
...
--HG--
extra : rebase_source : 8b64d2593d684a4e5d0d1ee87072db03afb78efe
2012-02-20 13:56:10 -08:00
Igor Bukanov
3b9873045c
bug 725576 - serialize principals only once per top-level script. r=luke
...
--HG--
extra : rebase_source : 92b82ff8a8d03d6176bf1e43329a59b77ca83de4
2012-02-10 13:40:34 +01:00
Bill McCloskey
180e2b965e
Bug 729910 - Fix OOM in gc() shell function (r=luke)
2012-02-23 14:34:18 -08:00
Bill McCloskey
dbc68ee709
Bug 727987 - Add null check to Boolean conversion (r=Waldo)
2012-02-23 14:34:12 -08:00
Bill McCloskey
bb798f27af
Bug 726429 - Handle GC during string table initialization (r=luke)
2012-02-23 14:34:06 -08:00
Luke Wagner
3f06b8fc96
Bug 726380 - Fix RegExp r.compile(r) (r=cdleary)
...
--HG--
extra : rebase_source : 7efdce0fb28bb6de15635d7fab13535246c70b55
2012-02-23 13:58:19 -08:00
Luke Wagner
3f650d8054
Bug 726595 - Do a better job guarding RegExpShared objects against GC (r=cdleary)
...
--HG--
extra : rebase_source : f4b28fd9dc0ad762d483e0a11fba450bdd8bd32f
2012-02-23 13:51:19 -08:00
Luke Wagner
34a0403a53
Bug 729584 - mozJSComponentLoader::ImportInto needs to wrap exceptions (r=bholley)
...
--HG--
extra : rebase_source : c5c575a789647348fcca5bf9ef5368873f0016f4
2012-02-23 13:50:01 -08:00
Rafael Ávila de Espíndola
c251c2e0bb
Bug 729926 - mac64: objdump not found. r=glandium.
...
--HG--
extra : rebase_source : 21e8f5a44a44d6537268b543effd7dd85092c4b5
2012-02-23 17:05:37 -05:00
Bill McCloskey
ce3ac46f86
Bug 728609 - Increment gcNumber in EndVerifyBarriers (r=bhackett)
2012-02-23 14:02:21 -08:00
Igor Bukanov
9f46ad8214
bug 729427 - applly IGC barrier to filename script entries. r=:Billm
2012-02-23 22:17:49 +01:00
Brian Hackett
6043935fb2
Efficiency improvements in ScriptAnalysis::analyzeSSA, bug 725920. r=dvander
2012-02-23 13:01:27 -08:00
Makoto Kato
01e301067a
Bug 722933 - add -MACHINE option for link.exe. r=khuey
2012-02-21 16:19:23 +09:00
Igor Bukanov
fc29d0f64c
bug 726944 - Remove JSClass::xdrObject and related functionality. r=luke
2012-02-13 09:02:21 +01:00
Nicholas Nethercote
cff6e50b17
Bug 728736 - Simplify JS_IterateCompartments. r=wmccloskey.
...
--HG--
extra : rebase_source : 5c8a43ffd6c738e84becd5835650a5734c09d0fc
2012-02-20 18:17:39 -08:00
Bobby Holley
4259454b77
Bug 700561 - Relax short-circuit principal checks on account of inner window reuse. r=bz
2012-02-18 08:55:28 -08:00
Brian Hackett
d2842a8b9b
Enable chunked compilation on x64, bug 728372. r=dvander
2012-02-18 08:52:04 -08:00
Jan de Mooij
102b95ec89
Bug 725357 - Move Monitor call from GetElementOperation to the interpreter. r=dvander
2012-02-22 09:26:02 +01:00
Terrence Cole
4c7ff129be
Bug 727135 - Make jsid marking interfaces indirect; r=billm
...
This will allow the GC to move jsid referenced objects.
2012-02-17 17:27:37 -08:00
Bill McCloskey
6b3aa0565d
Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor)
2012-02-17 14:35:20 -08:00
Terrence Cole
b978cd9469
Bug 727281 - Make JSObject* for Root and Barriered marking indirect; r=billm
...
This will allow us to move HeapPtr and rooted objects when tracing.
--HG--
extra : rebase_source : 6752792c1610899350eee1d5151136090de94f42
2012-02-14 15:19:55 -08:00
Gabor Krizsanits
8bbd6b58c6
Bug 673468 - Wrapped JS objects used as keys can disappear from WeakMaps. r=mccr8,billm
2012-02-17 13:22:26 +01:00
Jeff Walden
2396d6c1ad
Bug 728105 - Remove JSObject::getThrowTypeError. r=bhackett
2012-02-16 19:10:59 -08:00
Jeff Walden
b1d9b288f8
Bug 728095 - Eliminate all primitive-this machinery from JSObject and relegate it to subclasses. r=bhackett
2012-02-16 19:10:45 -08:00
Jeff Walden
2ec6c0678c
Warning patrol. No bug, r=themaid
...
--HG--
extra : rebase_source : 66d872e0ab56b73f1879d1aff9aba1dd3e71e9b3
2012-02-15 17:41:59 -08:00
Brian Hackett
02219e1ef0
Ensure that generators are never compiled, bug 726799. r=dvander
2012-02-16 15:26:30 -08:00
Bill McCloskey
1d92d12cd8
Bug 727921 - Fix schedulegc bustage
2012-02-16 15:21:59 -08:00
Brian Hackett
b1718426bb
Fix dictionary state when swapping objects, bug 727330. r=luke
2012-02-16 15:15:16 -08:00
Terrence Cole
e098c598b4
Bug 723346 - Make sharpObjectMap a modern HashMap; r=Waldo
...
This is the last user of the old-style C hashtables in the JS engine.
--HG--
extra : rebase_source : ccf8b296371227c0f0eea59a41b78eb4b63e8275
2012-02-15 17:55:25 -08:00
Terrence Cole
9af3b3cf51
Bug 727980 - Do not mark script atoms as roots; r=billm
...
Fixes a regression from bug 721463.
--HG--
extra : rebase_source : 601530388cb62f78b93a4ab35e749a7ee29d5d05
2012-02-16 14:27:37 -08:00
Bill McCloskey
805f126b4e
Bug 727921 - Add test case
2012-02-16 14:37:16 -08:00
Bobby Holley
f0038cf892
Bug 714590 - Use the helper jsclass format everywhere. r=mrbkap
2012-02-16 12:22:16 -08:00
Terrence Cole
b9affe53b5
Bug 726845 - Make Value marking interfaces indirect; r=billm
...
This will eventually allow the GC to update Values that reference an Object,
when moving an object.
2012-02-15 17:16:53 -08:00
Rafael Ávila de Espíndola
49845c6bf7
Bug 727145 - Pass -Wno-return-type-c-linkage to clang. r=glandium.
2012-02-16 09:53:08 -05:00
Igor Bukanov
1cf31b5006
bug 725595 - drop native object checks from JS_(Get|Set)ReservedSlot. r=Waldo
2012-02-10 13:40:34 +01:00
Terrence Cole
3cf46f995b
Bug 726115 - Make the tracer callback take an indirect pointer; r=billm
...
This will be required for a tracer to move objects. This patch only
updates the tracer interface and users of the interface.
--HG--
extra : rebase_source : 844d819a80cf6cb1dba0d07ea97f647802c66d40
2012-02-15 16:28:41 -08:00
Sean Stangl
9a193e49f1
Bug 725532 - Refactor DefVarOrConstOperation() to be Ion-compatible. r=Waldo
2012-02-15 16:45:25 -08:00
Adam
6461c6fc03
Bug 725765 - More Sprinter cleanups (adding a put method rather than having SprintCString and friends). r=jwalden
...
--HG--
extra : rebase_source : c7b5e45dfb1b937688884de0ca2fa7e1d7cc6b41
2012-02-15 16:15:57 -08:00
Jeff Walden
843adc24ef
Convert the last remaining direct JS_Assert users to MOZ_Assert, followup to bug 717540 that seems to have been missed in my initial review. Also switch the JS_ASSERT uses to MOZ_ASSERT in passing. r=trivial
...
--HG--
extra : rebase_source : 70746d934b529c3e28d83dc2aced690ba92044db
2012-02-14 16:16:14 -08:00
Boris Zbarsky
c64eafbf1e
Bug 726182. Add a JS_GetFunctionPrototype API for getting the canonical Function.prototype. r=waldo
2012-02-10 17:49:39 -05:00
Bobby Holley
80a597a448
Bug 717113 - Make js::IsWrapper fully inline-able. r=luke
2012-02-21 10:31:35 -08:00
Bobby Holley
b4ebcff565
Bug 717113 - Don't do a redundant class lookup in js::IsProxy. r=luke
2012-02-21 10:31:27 -08:00
Bill McCloskey
ee28f5036b
Bug 718053 - Fix Valgrind warnings (r=cdleary)
2012-02-21 09:49:22 -08:00
Tom Schuster
6b2405ecde
Bug 725293 - update Unicode support in SpiderMonkey to v6.1 r=Waldo
2012-02-15 15:30:39 +01:00
Terrence Cole
753ee85563
Bug 721463 - Clean up and minimize marking interfaces; r=billm
...
Currently, the marking interfaces are a giant pile of duplicated and,
frequently, unused code. This patch reworks the interface to clean
up jsgcmark.h.
2012-02-14 09:10:23 -08:00
Jan de Mooij
04f2411d37
Bug 727087 - Move JSOP_TOID implementation to jsinterpinlines. r=dvander
...
--HG--
extra : rebase_source : 2bcc7b7a30f613489a93cb1465a2ae6d64815f1c
2012-02-14 23:36:36 +01:00
Jim Blandy
75fb742bf1
Bug 723806: Make JavaScript CTypes print function types correctly. r=bholley
2012-02-14 13:18:16 -08:00
Chris Leary
0b948a4184
Bug 700822: Randomize JIT VirtualAlloc location on win32, sans XP. (r=dmandelin)
...
--HG--
extra : rebase_source : 155b9cf9bb9fc6e70efd5ca4a2b20e76f3526fc5
2012-02-13 21:36:11 -08:00
Brian Hackett
b75938fd81
Fix argc checks in mjitChunkLimit shell function, bug 726636. r=dvander
2012-02-14 05:16:32 -08:00
Marco Bonardo
5d2d3f3a0e
Merge central to inbound
2012-02-14 11:18:40 +01:00
Marco Bonardo
ead310cb44
Merge last green PGO from inbound to central
2012-02-14 11:16:13 +01:00
Mike Hommey
3f5c329700
Bug 717540 - Remove MFBT dependency on JS_Assert, add MOZ_Assert, and use it for WTF assertions. r=waldo,r=khuey
2012-02-13 15:48:23 +01:00
Terrence Cole
61e836e479
Bug 714109 - Add missing barriers to Generator; r=billm
...
The generator object stores aside values from the stack of the generator
function when the generator is not running. These values need to properly root
objects in the nursery.
--HG--
extra : rebase_source : 0de3980a058a2951e14663841078fb575ae22f6c
2012-02-13 10:01:18 -08:00
Mike Hommey
de636eb93e
Backout 8eef38643ceb (bug 717540) and 78941a969e20 (bug 725230) because of windows debug bustage
2012-02-13 16:35:13 +01:00
Mike Hommey
4262e5f87c
Bug 717540 - Remove MFBT dependency on JS_Assert, add MOZ_Assert, and use it for WTF assertions. r=waldo,r=khuey
2012-02-13 15:48:23 +01:00
Mike Hommey
50d524bee7
Bug 698923 - Don't require 16 bytes alignment for VMFrame on sparc. r=luke
2012-02-13 15:47:34 +01:00
Brian Hackett
c0d44ab648
Don't update GC malloc bytes for compiler heap allocations, bug 687127. r=gwagner
2012-02-12 19:27:55 -08:00
Bill McCloskey
93683d7e35
Bug 713226 - Followup fix (r=bhackett)
2012-02-12 14:57:04 -08:00
Bill McCloskey
a2dc94d504
Bug 713226 - Fix SETPROP write barrier in methodjit (r=bhackett)
2012-02-10 18:32:31 -08:00
Bill McCloskey
1a5cc39cfa
Bug 721579 - Remove rt->gcTriggerBytes and rt->gcLastBytes (r=igor)
2012-02-10 18:32:25 -08:00
Bill McCloskey
5a00d52cda
Bug 722028 - Need write barrier for SuppressDeletedPropertyHelper (r=bhackett)
2012-02-10 18:32:18 -08:00
Bill McCloskey
1029efe694
Bug 716067 - UnmarkGray more often (r=bent)
2012-02-10 18:32:13 -08:00
Bill McCloskey
474849d426
Bug 723313 - Stop using conservative stack scanner for VM stack marking (r=luke,bhackett)
2012-02-10 18:32:08 -08:00
Bill McCloskey
74aacf7b60
Bug 723773 - Liveness analysis makes mistakes when analyzing try/catch (r=bhackett)
2012-02-10 18:32:03 -08:00
Brian Hackett
49ca7aac62
Discard jitcode when changing chunk limit in JS shell, bug 722598. r=dvander
2012-02-12 12:17:30 -08:00
Olli Pettay
8435d939fc
Bug 725768 - BBP for ObjectHolders, additional patch 2, r=mccr8
2012-02-13 22:59:14 +02:00
Phil Ringnalda
a9e7539f67
Back out 5f623a11c6cb (bug 713226), 1ed8ccf96402 (bug 721579), 32af27f89c49 (bug 722028), 1300d282fd22 (bug 716067), dc0f6ad7eff3 (bug 723313), 0d2ab3f2e9b9 (bug 723773) for talos crashes
2012-02-10 19:47:48 -08:00
Bill McCloskey
e0d78fafbb
Bug 713226 - Fix SETPROP write barrier in methodjit (r=bhackett)
2012-02-10 18:32:31 -08:00
Bill McCloskey
e22404401c
Bug 721579 - Remove rt->gcTriggerBytes and rt->gcLastBytes (r=igor)
2012-02-10 18:32:25 -08:00
Bill McCloskey
afb5390d89
Bug 722028 - Need write barrier for SuppressDeletedPropertyHelper (r=bhackett)
2012-02-10 18:32:18 -08:00
Bill McCloskey
0de2c12768
Bug 716067 - UnmarkGray more often (r=bent)
2012-02-10 18:32:13 -08:00
Bill McCloskey
e85e1da334
Bug 723313 - Stop using conservative stack scanner for VM stack marking (r=luke,bhackett)
2012-02-10 18:32:08 -08:00
Bill McCloskey
48692f96aa
Bug 723773 - Liveness analysis makes mistakes when analyzing try/catch (r=bhackett)
2012-02-10 18:32:03 -08:00
Ed Morley
2817419f26
Merge mozilla-central to mozilla-inbound
2012-02-11 02:24:30 +00:00
Olli Pettay
1c1078d993
Bug 725768 - BBP for ObjectHolders, r=mccr8
...
--HG--
extra : rebase_source : 31e088050144099582d035f758d716516885ebd3
2012-02-10 21:50:37 +02:00
Ed Morley
8d711e3c7b
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-02-10 12:14:39 +00:00
Phil Ringnalda
565328e834
Back out 61d58d97747a (bug 721463) on expanded suspicion of GC crashes
2012-02-09 21:02:19 -08:00
Phil Ringnalda
71249eea70
Back out 710220a5ac33 (bug 714109) on suspicion of causing GC crashes in browser-chrome
2012-02-09 20:40:59 -08:00
Luke Wagner
330f1dd2d0
Bug 724748 - simplify RegExpShared lifetime management (r=cdleary)
2012-02-07 12:34:29 -08:00
Ms2ger
74c383e999
No bug - Propagate false return value from xpc_qsThrowMethodFailedWithDetails; r=bz
2012-02-07 21:31:29 +01:00
Jeff Walden
3252341ae4
Bug 725888 - Remove some js_GetClassPrototype calls, using faster methods on GlobalObject instead. Also introduce JS_GetObjectPrototype to retrieve Object.prototype so that a friend API can be made un-friendly. r=dmandelin
...
--HG--
extra : rebase_source : d68d7f1fdcc1bc9a1a027c08ea62bebd8e9d0178
2012-02-07 11:45:18 -08:00
David Mandelin
5a18638917
Bug 725198: reuse js_DoubleToECMAInt32 for js_DoubleToECMAUint32, r=luke
2012-02-08 18:38:32 -08:00
Eddy Bruel
d4067beac6
Bug 675694: add function to dump parse trees and use it in shell parse function, r=jorendorff
2012-02-08 17:21:33 -08:00
David Mandelin
6e66fa3071
No bug, mark slow test
2012-02-08 18:09:28 -08:00
Matt Brubeck
475119a8d1
Backed out changeset af0ab64cb947 (bug 675694) because of build failures
2012-02-08 17:36:53 -08:00
Eddy Bruel
4d77e8d22c
Bug 675694: add function to dump parse trees and use it in shell parse function, r=jorendorff
2012-02-08 17:21:33 -08:00
David Mandelin
599bd95278
Bug 714614: don't create call objects with duplicated property names, r=bhackett
2012-01-27 14:33:27 -08:00
Luke Wagner
358d05192f
Bug 725138 - tidy up Interpret with formalArg/localSlot (r=bhackett)
...
--HG--
extra : rebase_source : 86e6953be488b4554fc8570555015bcee14bf012
2012-02-03 00:11:31 -08:00
Luke Wagner
4c9b81afa5
Bug 725138 - tidy up vm/Stack code (r=bhackett)
...
--HG--
extra : rebase_source : fe97cc51ada12873577c87b111a1635242e5a9d0
2012-02-03 00:11:31 -08:00
Matthew Noorenberghe
5a46a0d983
Bug 294260 - Disable startup crash tracking in test profiles (toolkit.startup.max_resumed_crashes = -1) r=waldo,robcee
...
--HG--
extra : rebase_source : 6856629cc35106499f82753471ff77c2607a5e97
2012-02-03 18:31:31 -08:00
Terrence Cole
b7cb5873b8
Bug 714109 - Add missing barriers to Generator; r=billm
...
The generator object stores aside values from the stack of the generator
function when the generator is not running. These values need to properly root
objects in the nursery.
2012-01-03 11:50:07 -08:00
Terrence Cole
1c23d99cd5
Bug 721463 - Clean up and minimize marking interfaces; r=billm
...
Currently, the marking interfaces are a giant pile of duplicated and,
frequently, unused code. This patch reworks the interface to clean
up jsgcmark.h.
--HG--
extra : rebase_source : 34797ffbdc8940d3de312b650163910ad8b1b728
2012-01-24 19:34:44 -08:00