Commit Graph

932 Commits

Author SHA1 Message Date
Nicholas Nethercote
84e657b2d1 Bug 839376 (part 8) - Fix another seven rooting hazards. r=sfink.
--HG--
extra : rebase_source : 9863790dd2ad0cf043609986d046b84046527962
2013-02-13 17:24:00 -08:00
Tom Schuster
b5f30783df Bug 839027 - Kill object typeof hook. r=jorendorff 2013-02-11 21:05:13 +01:00
Terrence Cole
da0189f754 Bug 706885 - Do not store singletons in the Nursery; r=bhackett
--HG--
extra : rebase_source : 0f6fe8fd6954c60a25b7180e503afd124956ec1c
2013-01-28 11:01:54 -08:00
Nicholas Nethercote
0bda4fcd31 Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
Ding dong!  The witch is dead!
2013-01-24 21:24:57 -08:00
Phil Ringnalda
2d79942fa4 Back out 66882ea6f8c7 (bug 788293) and 32f09cb3c7b6 (bug 834090) for bustage
CLOSED TREE
2013-01-31 22:29:30 -08:00
Nicholas Nethercote
46ba51002e Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
Ding dong!  The witch is dead!

--HG--
extra : rebase_source : 7574f5620e303c25120fcfc8ceb2099ad75c8f1b
2013-01-24 21:24:57 -08:00
Brian Hackett
69fd5cc395 Bug 835102 - Convert sufficiently sparse objects back to using dense elements, r=billm. 2013-01-29 19:50:41 -07:00
Brian Hackett
a1f4e2ce5c Bug 833898 - Allow converting mixed arrays of ints and doubles to uniform doubles, r=jandem. 2013-01-29 16:20:03 -07:00
Brian Hackett
cb0fe1f1ed Bug 834826 - Eliminate or refactor various unnecessary stack roots, r=terrence. 2013-01-26 07:42:20 -07:00
Nicholas D. Matsakis
ed68c62ba6 Bug 825714: Refactor JS allocation routines to enable allocation on parallel
threads, and move various ion fields into per-thread-data. r=billm

More detailed:
- A new routine JSObject::parExtendDenseArray() that permits parallel code to
  allocate a dense array on its own Allocator.
- Create an allocation path in the GC for loading a fresh arena as needed
  (ArenaLists::parallelAllocate()).
- Ensure that if GC is triggered during parallel execution, parallel execution
  is aborted and the request is deferred until parallel execution terminates.
- Updates to the ForkJoin/ThreadPool so that they create their own Allocators
  as well as other misc API changes.
- Moves some of the ion-related fields (e.g., |ionTop|) into perThreadData.
- Remove out-of-date malloc tracking fields.
2013-01-24 21:12:44 -08:00
Brian Hackett
ca7794f586 Bug 834242 - Reduce cost of exact stack rooting during property reads, r=terrence. 2013-01-24 20:18:34 -07:00
Jon Coppeard
56379a5cec Bug 833396 - Fix some rooting issues found by static analysis r=sphink 2013-01-21 17:41:49 +00:00
Brian Hackett
2e31689f1f Bug 832972 - Reduce cost of exact stack rooting during name operations, clean up some GC allocation methods, r=terrence. 2013-01-23 15:22:10 -07:00
Brian Hackett
69be3b2cf0 Bug 832360 - Store an object's class as part of its type, r=jandem. 2013-01-23 12:57:55 -07:00
Steve Fink
d3f194fbfb Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
Steve Fink
cb8aecdd2a Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!) 2013-01-18 13:20:21 -08:00
Steve Fink
fa3e8f224b Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Eddy Bruel
d91328f4ed Bug 568953 - Implement Module objects; r=jorendorff 2013-01-18 14:18:07 +01:00
Jeff Walden
f9dab52ff2 Add a JSObject::addDataProperty overload that takes Handle<PropertyName*>, to preserve the name/element distinction further when possible, anticipating future property-splitting work. No bug, r=sparky
--HG--
extra : rebase_source : 2fe4e9819bf8ab23b163889411b5d1fa74d59597
2012-12-27 11:20:22 -06:00
Jeff Walden
950d67e8b3 Bug 830871 - Remove JS_FRIEND_API from js_GetClassPrototype as it isn't (and shouldn't be) used outside SpiderMonkey. r=jorendorff
--HG--
extra : rebase_source : aefa8e56c479bec12b9237e1479c34bbf2c88d19
2013-01-11 11:59:50 -08:00
Ms2ger
fea92580b3 Merge latest PGO-green m-i changeset to m-c. 2013-01-11 14:48:33 +01:00
Ms2ger
b05f0f7ef8 Bug 828494 - Part b: Pass MutableHandleValue to NewPropertyDescriptorObject; r=terrence 2013-01-11 09:43:00 +01:00
Ms2ger
01f1ef559a Bug 828494 - Part a: Pass MutableHandleValue to GetOwnPropertyDescriptor; r=terrence 2013-01-11 09:43:00 +01:00
Ms2ger
c6d60263ed Bug 828293 - Root js_NativeSet's vp argument; r=terrence 2013-01-11 09:43:00 +01:00
Brian Hackett
e5c1a5813f Bug 827490 - Allow native objects to have both slots and dense elements, rm dense/slow array distinction, r=billm, dvander. 2013-01-10 17:53:11 -07:00
Terrence Cole
8a823b62bf Bug 828607 - Fix exact rooting in jsproxy; r=evilpie 2013-01-08 10:27:50 -08:00
Ed Morley
3dc53cf762 Backout c3268996719e (bug 828607) for bustage on a CLOSED TREE 2013-01-10 00:11:04 +00:00
Terrence Cole
a669dc2649 Bug 828607 - Fix exact rooting in jsproxy; r=evilpie
--HG--
rename : extensions/cookie/test/frame_clear_browser_data.html => dom/tests/mochitest/localstorage/frame_clear_browser_data.html
rename : extensions/cookie/test/test_app_cleardata_permissions.html => extensions/cookie/test/test_app_uninstall_permissions.html
rename : services/crypto/cryptoComponents.manifest => services/sync/SyncComponents.manifest
rename : toolkit/components/passwordmgr/test/test_privbrowsing_perwindowpb.html => toolkit/components/passwordmgr/test/test_privbrowsing.html
extra : rebase_source : 60c8a3c9390572c40c817d4d6e1e21056920e046
2013-01-08 10:27:50 -08:00
Terrence Cole
f9b3a8e02d Bug 826435 - Do not allow poisoned pointers near a HashTable; r=sfink
The rooting analysis depends on all usage of a poisoned pointer to crash. This
patch makes the above usage crash, as required.

--HG--
extra : rebase_source : 3d67e4c44cee91d889edbf6641cebe9887fb10ee
2013-01-03 17:01:38 -08:00
Masatoshi Kimura
fd507ef09f Bug 823080 - Fix warning spam on MSVC. r=sphink 2012-12-22 09:16:50 +09:00
Tom Schuster
bed05bdfc1 Bug 821789 - Move JavaScript Object builtins to their own file. r=jwalden 2012-12-20 15:06:37 +01:00
Nicholas Nethercote
7bd984722f Bug 814229 (part 2) - Refactor storage of the "objects-extra" numbers.
--HG--
extra : rebase_source : 2125ae4446928fbc7432f22505565b9b246f960d
2012-11-21 17:07:42 -08:00
Nicholas Nethercote
7f52f9e813 Bug 814229 (part 1) - Add "objects-extra/ctypes-data" memory report. r=jorendorff.
--HG--
extra : rebase_source : 8b65b74b5c22ebf7525eeff51601e36274d56736
2012-11-21 17:05:39 -08:00
Terrence Cole
ea1ffaab45 Bug 816776 - Add debug-mode exact rooting assertions for Shape; r=sfink
--HG--
extra : rebase_source : fbd47f598964cbb03dcc782198c10164e09a26f2
2012-11-29 10:22:10 -08:00
Terrence Cole
07481a4a31 Bug 811168 - Implement Unrooted<T> protect BaseShape; r=billm
The new Unrooted<T> class adds static typing and dynamic debug-mode assertion to
better protect our GC invarients when writing performance-sensitve code.

--HG--
extra : rebase_source : 13c3c2b8a98f3c013cd1c7c0a0d2bb408e815a2b
2012-11-14 16:06:27 -08:00
Phil Ringnalda
8102da43c0 Back out 08fd9aa0d6e1 (bug 810102) for turning bug 728834 permaorange 2012-11-12 21:01:17 -08:00
Norbert Lindenberg
a4217d92b5 Bug 769872 - Add C++ core of Intl object and constructors Collator, NumberFormat, DateTimeFormat. However, disable initialization of Intl object and its constructors while functionality is incomplete. r=jwalden 2012-11-12 13:23:01 -08:00
Terrence Cole
a03c1438eb Bug 810102 - Exactly root all BaseShape; r=sfink 2012-11-08 15:35:48 -08:00
Steve Fink
c19dff8a36 Bug 807829 - Handlify js_NativeSet and use rooted Shape* consistently
--HG--
extra : rebase_source : 50da90b308ace580a6312084d8ba38667a838b9e
2012-11-01 13:57:47 -07:00
Nicholas Nethercote
7c4faece03 Bug 806283 - Split up and add native iterators to "object/misc" memory reports. r=jorendorff.
--HG--
extra : rebase_source : 867e178d0c921de9e144fb274e1c0d77c8845b81
2012-11-01 16:51:04 -07:00
Till Schneidereit
08270b5749 Bug 784400 - Enable cloning of object literals within functions. r=luke 2012-10-11 11:53:02 +02:00
Luke Wagner
8b57bfb01f Bug 795574 - name lookup in JSOP_IMPLICITTHIS should default to the global (r=waldo)
--HG--
extra : rebase_source : f4779f72c69016e4b1aa2aea0b363c37052d990e
2012-10-02 10:51:10 -07:00
Nicholas Nethercote
2bb2924283 Bug 795768 (part 1) - Remove lots of dead JSContext* occurrences.
--HG--
extra : rebase_source : 78cfccb915228146c36951fe4912b7b59e544319
2012-09-30 21:13:53 -07:00
Bill McCloskey
b213f331a5 Bug 787856 - Initial support for lazy prototypes (r=bhackett) 2012-09-26 09:49:20 -07:00
Nicholas Nethercote
cc1fa77fc3 Bug 791611 (part 1) - Exactly root most JSObjects in jsinfer.cpp. r=terrence.
--HG--
extra : rebase_source : 1b39f0220a1f0ec0f8633b6a0aa5685f1d3a2c02
2012-09-16 16:32:02 -07:00
David Anderson
37976f8d18 Merge from mozilla-central. 2012-09-10 12:16:38 -07:00
David Anderson
cb5e844dd9 Merge from mozilla-central. 2012-09-06 18:28:59 -07:00
David Anderson
7b70ee195a Merge from mozilla-central.
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
David Anderson
9e81520770 Merge from mozilla-central.
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Luke Wagner
3595a4cdb6 Bug 749371 - Break JS_ClearScope into two not-as-bad functions (r=mrbkap) 2012-08-23 11:23:28 -07:00