Граф коммитов

221 Коммитов

Автор SHA1 Сообщение Дата
Tristan Bourvon a3a77c0312 Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan 2018-04-10 21:11:02 +02:00
Jan de Mooij 68eeb821cb Bug 1449135 part 3 - Remove cooperative scheduling; bake in JSContext* in JIT code. r=luke 2018-03-27 18:00:27 +02:00
Jan de Mooij e8dc00e48a Bug 1447578 part 3 - Remove MacroAssembler rooting/tracing code. r=jonco
--HG--
extra : rebase_source : 848f220d63897a53c662b164eb7d5e98222f50bb
2018-03-21 16:58:04 +01:00
Jon Coppeard 8b9f1c68b9 Bug 1441783 - Remove unused AutoVectorRooter class and refactor r=sfink 2018-03-01 14:47:29 +00:00
Steve Fink 1c184b5229 Bug 903519 - Strings in the nursery: barriers, r=jonco
--HG--
extra : rebase_source : 64f8aa23157acad4f56c0fedfe7055976ecdccaa
extra : source : 7d56db66836900bc7758c6829b9235a3dd26947e
2017-07-28 16:46:38 -07:00
Markus Stange 49735a3768 Bug 785440 - Add js::GetContextProfilingStack in such a way that it can be inlined into non-JS code. r=sfink
This requires moving some things around. RootingContext is an existing
superclass of JSContext whose members are exposed in a header file, so we can
use it to expose the location of the geckoProfiler_ member to non-JS code.

MozReview-Commit-ID: 3oClAEVMsDr

--HG--
extra : rebase_source : f5943a710cddaa65cfdcb13370f95387caaf6892
extra : source : 2f5b804cef7b0888ac6121f5645bbb910750ed72
2018-01-05 14:35:00 +01:00
David Teller 4382d682b7 Bug 1377007 - GC for binjs-ref parser;r=sfink
MozReview-Commit-ID: EjZZ1ofm52t

--HG--
extra : rebase_source : 72f5f294fd11360260c6958520c980cd6dcb3427
2017-09-05 14:51:30 +02:00
Narcis Beleuzu 996e222d3a Backed out 7 changesets (bug 1377007) for web platform reftests failures on CSS2/borders. r=backout
Backed out changeset c30bc5d5adbc (bug 1377007)
Backed out changeset 33fdf9e531e2 (bug 1377007)
Backed out changeset 267abdb38036 (bug 1377007)
Backed out changeset 4a452c3ac115 (bug 1377007)
Backed out changeset e9310960c9e6 (bug 1377007)
Backed out changeset 8e5e61dfbbaf (bug 1377007)
Backed out changeset 9ac83e79e656 (bug 1377007)
2017-12-15 02:16:50 +02:00
David Teller e6ed8aa3c2 Bug 1377007 - GC for binjs-ref parser;r=sfink
MozReview-Commit-ID: EjZZ1ofm52t

--HG--
extra : rebase_source : 9bad473b5b8b90c8fcc6f6b114d004ce97bb0cff
2017-09-05 14:51:30 +02:00
Dorel Luca 20ddc8dfae Backed out 7 changesets (bug 1377007) for failing build bustage on Linux pgo and faling Cpp's jsapi-tests r=backout on a CLOSED TREE
Backed out changeset 9428a4ed7dec (bug 1377007)
Backed out changeset 4407b43a8aff (bug 1377007)
Backed out changeset 65a37a7f78a5 (bug 1377007)
Backed out changeset 276fe6d9b716 (bug 1377007)
Backed out changeset 1de46e60ffba (bug 1377007)
Backed out changeset 893e303e17ec (bug 1377007)
Backed out changeset 081a241e25d4 (bug 1377007)
2017-12-04 18:01:09 +02:00
David Teller 6cbd331d9e Bug 1377007 - GC for binjs-ref parser;r=sfink
MozReview-Commit-ID: EjZZ1ofm52t

--HG--
extra : rebase_source : f45fc9709f0c2d18baccdc27cba3476b7a610b61
2017-09-05 14:51:30 +02:00
Jon Coppeard d263df0462 Bug 1417123 - Move rooting-related classes from jspubtd.h to public/RootingAPI.h r=sfink 2017-11-16 12:21:07 +00:00
Jon Coppeard 0cfc710f84 Bug 1417123 - Move barrier function declarations to public/HeapAPI.h r=sfink 2017-11-16 12:21:07 +00:00
Jon Coppeard b6270c9da7 Bug 1400003 - Mark Heap<T> and barrier classes as MOZ_NON_MEMMOVABLE r=sfink r=froydnj 2017-10-09 10:03:20 +01:00
Jon Coppeard 2a820b9683 Bug 1402649 - Fix valid GC cell pointer asserts and error handling in module instantiation r=sfink 2017-09-26 10:23:14 +01:00
Yoshi Huang 42bd74780c Bug 1399399 - Move internal classes out of RootingAPI.h. r=jonco 2017-09-25 14:52:16 +08:00
Jon Coppeard ae251056d7 Bug 1399944 - Check for valid GC cell pointers in various places r=sfink 2017-09-19 12:31:31 +01:00
Jon Coppeard 08ac3244a6 Bug 1370869 - Don't copy scope data in XDR decode r=shu 2017-06-12 10:43:46 +01:00
Jon Coppeard e7b80c5987 Bug 1362977 - Rename CellSize to CellAlignBytes and improve the naming of related constants r=sfink 2017-05-09 11:38:32 +01:00
Bill McCloskey ee9f642133 Bug 1359245 - Remove CycleCollectedJSRuntime::mJSContext (r=mccr8,sfink)
This patch eliminates a field where we assume that there is one
CycleCollectedJSContext per runtime.

MozReview-Commit-ID: 5cEL5Ml6Y9v
2017-04-27 15:34:46 -07:00
Nick Fitzgerald 4fa7679d42 Bug 1277338 - Part 3: Make JS::Rooted and JS::PersistentRooted share the same MaybeWrapped<T> definition; r=sfink
They were previously using duplicate definitions and this DRYs them up. This is
needed because bindgen can't understand `mozilla::Conditional`, and so we want
to replace `MaybeWrapped` with something a little simpler when doing bindings
generation, and its easier if we don't have to repeat our desired replacement as
well.
2017-04-13 13:22:20 -07:00
Jon Coppeard 82cbd987a2 Bug 1338623 - Add a slower but more exact gray marking check for checking correctness r=sfink r=mccr8 2017-03-02 10:22:47 +00:00
Jon Coppeard 46c6dced28 Bug 1338614 - Refactor incremental barrier APIs and make them call the read barrier r=sfink 2017-02-13 11:11:09 +00:00
David Major 1306bd2aec Bug 1262595: Reduce duplication of ConstNullValue across compilation units. r=sfink
MozReview-Commit-ID: K8MuV7RYRBI

--HG--
extra : rebase_source : e97ac44d40b9a910cef36e3965b96bf51fb6df88
2017-02-09 12:18:08 +13:00
Brian Hackett db7742c7f9 Bug 1325050 - Structure reorganization for multithreaded runtimes, r=jandem,jonco,h4writer,luke,lhansen,nbp.
--HG--
extra : rebase_source : 53c8fbae972fbf2f5e9428ce4d2965c8f86e942d
2017-02-02 12:12:43 -07:00
Jon Coppeard ca898ea355 Bug 1325406 - Refactor rooting base class templates r=sfink r=mccr8 2017-01-10 10:12:14 +00:00
Jon Coppeard 78644b3683 Bug 1323241 - Only report things as gray if gray marking state is valid r=sfink 2017-01-06 11:23:21 +00:00
Steve Fink 7f97277dc2 Bug 1308236 - Don't trigger read barriers when comparing wrapped pointers types r=sfink r=mccr8 2016-10-28 15:11:56 -07:00
Jon Coppeard 37de54b8fa Bug 1315122 - Remove JS::Heap<T>'s unused setToCrashOnTouch() methods r=jandem 2016-11-04 17:32:36 +00:00
Jon Coppeard 556585c65f Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8 2016-10-18 17:58:19 +01:00
Jon Coppeard 123936bacd Bug 1306382 - Automatically ExposeToActiveJS when reading out of a TenuredHeap<T> r=sfink r=mccr8 2016-10-07 13:58:37 +02:00
Terrence Cole 0edc10380c Bug 1297558 - Use a read barrier on Heap to ExposeToActiveJS r=sfink r=mccr8 2016-02-07 09:08:55 -08:00
Tooru Fujisawa 56fd9aac76 Bug 1290337 - Part 6: Replace Value parameter to const Value& in RootingAPI. r=terrence 2016-09-11 18:15:22 +09:00
Terrence Cole 76b800594e Backed out changeset d85334f696eb (bug 1285057) for implicitly depending on clang 3.8.
--HG--
extra : rebase_source : 472f9411c9d528d63d523c99f4842a1216bdd560
2016-09-23 15:59:55 -07:00
Terrence Cole b605dece0c Bug 1285057 - Blacklist UBSan detection of the GC's generic interfaces; r=sfink
--HG--
extra : rebase_source : f5367a8685ec462edb7e30e5ed3d274b4a9bcd0f
2016-07-07 08:59:36 -07:00
Leo Gaspard 2df9fd1853 Bug 1297244 - Assert on the type given as a parameter to Heap. r=terrence
--HG--
extra : rebase_source : 2523f190a45bf3669f40392226df6a0b6fbc9806
2016-08-24 14:21:42 -07:00
Shu-yu Guo e2b6833e0a Bug 1263355 - Rewrite the frontend: bindings. (r=jorendorff,Waldo) 2016-08-25 01:28:47 -07:00
Jan de Mooij 536f87ca97 Bug 1294404 - Merge PerThreadDataFriendFields and ContextFriendFields, clean up APIs. r=terrence,bz 2016-08-12 11:39:16 +02:00
Jan de Mooij 5a6befce76 Bug 1292892 part 2 - Some RootingContext cleanup. r=bz,terrence 2016-08-11 14:39:22 +02:00
Jan de Mooij 0ad12515f4 Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru 2016-08-11 14:39:22 +02:00
Chris Peterson 1408fa9074 Bug 1288925 - Replace JS_ALIGNAS() polyfill with alignas(). r=sfink 2016-07-25 01:14:04 -07:00
Jon Coppeard 17af524d85 Bug 1260785 - Make hashcode generation fallible for cell pointers that can be moved by GC r=terrence 2016-07-13 10:20:00 +01:00
Chris Peterson 43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Jan de Mooij 900af968f3 Bug 1283855 part 28 - Make more GC APIs take JSContext instead of JSRuntime. r=terrence
--HG--
extra : rebase_source : c2d35b5d45cad074b9a9a144bc25ea4a32b8b246
2016-07-07 09:56:09 +02:00
zhoubcfan@163.com e46e500df0 Bug 1280789 - Unbreak mingw builds, r=sfink
--HG--
extra : rebase_source : 4aa8b4709659f301e3ba22fa429f0b1ef756ff26
2016-06-20 18:43:02 +01:00
Steve Fink 4def6edc38 Bug 1272887 followup fix - alignas is not yet allowed, r=till
--HG--
extra : rebase_source : ff8b1293541493fd3639ebc7d2652cd34d66f824
extra : histedit_source : fa36fd9ce4faac7ff7d82b0272178154b90e55b7
2016-06-07 20:31:37 -07:00
Steve Fink e915d9775e Bug 1272887 - Set alignment of PersistentRooted.ptr field for reinterpret_cast on win32, r=terrence
MozReview-Commit-ID: BMaft7pCX2q

--HG--
extra : rebase_source : 6313fc361c7499c164a7962205ccbc40efc22527
2016-06-02 12:37:09 -07:00
Terrence Cole 4bf8df3a44 Bug 1266887 - Store Rooted heads on the Zone; r=sfink
--HG--
extra : rebase_source : 30686e746021d123947ade0ad51b10f1b3d32ee9
2016-04-25 12:32:36 -07:00
Terrence Cole 9ca2f324ec Backout edb632ad80c4 (Bug 1266887) for regressing performance on windows. 2016-05-03 13:59:50 -07:00
Terrence Cole 8e2294b2b6 Bug 1267699 - Move some public types to the right namespace; r=sfink
--HG--
extra : rebase_source : f79f7d86aab708b86a65e6f2426baeb8488f47e5
2016-04-26 09:18:48 -07:00