Jon Coppeard
779ba02591
Bug 1432794 - Skip prototype and constructor intialization for off-thread parsing r=jandem
2018-01-30 17:57:40 +00:00
Jeff Walden
8314131139
Bug 1432646 - Implement mozilla::WrapToSigned. r=froydnj
...
--HG--
extra : rebase_source : 2c1a216830767da789eea59d00b55a45845f4d60
2018-01-25 14:48:01 -08:00
Jeff Walden
1cf916f6d8
Bug 1432646 - Don't overflow performing signed integer arithmetic when performing |JS::ToInt32(0xFFFFFFFF)|. r=froydnj
...
--HG--
extra : rebase_source : bf64d6eceb631fbd4fe018a34530defd59e20d71
2018-01-25 14:47:55 -08:00
Lars T Hansen
1ccda3f5bc
Bug 1427130 - Add guard to SAB structured clone. r=jorendorff
...
This demotes a MOZ_RELEASE_ASSERT in the SAB case for SC write to a
run-time check. The reason is that the clone policy must conform to
the clone scope, specifically, if the scope is DifferentProcess then
the policy must deny SAB.
The check was an assert previously because we mistakenly thought that
we controlled all the callers, but we do not - the TestingFunction
serialize() has a permissive API and instead of adding a lot of
complexity there we should change the assert to a run-time check. The
code is more resilient as a result anyway.
Also document this quirk in the SC header file.
--HG--
extra : rebase_source : 4b632fe57bc9ebf3f38210b1ffad11fde57befa6
2018-01-15 11:31:35 +01:00
Jan de Mooij
93e1e4e3d9
Bug 1432479 - Use XOR for Value unboxing on 64-bit to mitigate certain Spectre attacks. r=luke
...
--HG--
extra : rebase_source : e0825f48994b4556db2f71d04d3c0971de5275ac
2018-01-24 12:33:53 +01:00
Paul Bone
debeadacaa
Bug 1430703 - Fix some too-loose static assertions r=cduan
...
--HG--
extra : rebase_source : 9a5b7de473290dc8d8578406513a9f002434b274
extra : histedit_source : cd563024fa007e3f40f108cd7d2339946bb40ec6
2017-12-13 11:31:39 +11:00
Chris Peterson
37efe4d0e6
Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj
...
MozReview-Commit-ID: DCPTnyBooIe
--HG--
extra : rebase_source : cfec2d96faeb11656d86d760a34e0a04cacddb13
extra : intermediate-source : 6176724d63788b0fe8caa3f91607c2d93dbaa7ec
extra : source : eebbb0600447f9b64aae3bcd47b4be66c02a51ea
2017-11-05 19:37:28 -08:00
Jan de Mooij
03f5b1346f
Bug 1113014 - Don't emit a branch in LoadDOMPrivate if we know the object kind (native or proxy) statically. r=bz
...
--HG--
extra : rebase_source : 6648791a98335471d84afbcff73d4801d80e602d
2018-01-12 12:47:19 +01:00
Noemi Erli
cea0d65a57
Backed out 20 changesets (bug 903519) for detected memory leaks on a CLOSED TREE
...
Backed out changeset 3f72f8747e29 (bug 903519)
Backed out changeset bb2cc298a155 (bug 903519)
Backed out changeset cc56f32ddae8 (bug 903519)
Backed out changeset ec5b307a28aa (bug 903519)
Backed out changeset 38f4e0426bdd (bug 903519)
Backed out changeset 71831e232df2 (bug 903519)
Backed out changeset 6f3666e9540e (bug 903519)
Backed out changeset c62e5867d763 (bug 903519)
Backed out changeset 7854bfe5d683 (bug 903519)
Backed out changeset f5f72c93adf9 (bug 903519)
Backed out changeset 7d56db668369 (bug 903519)
Backed out changeset 7c96258a6459 (bug 903519)
Backed out changeset 11b3f0fda4ad (bug 903519)
Backed out changeset 2bc9d427f427 (bug 903519)
Backed out changeset fdb6431ea4ff (bug 903519)
Backed out changeset 6d7d15b25489 (bug 903519)
Backed out changeset 457008b194a8 (bug 903519)
Backed out changeset 80b9d97bf1fe (bug 903519)
Backed out changeset 1fc5ee0d0116 (bug 903519)
Backed out changeset 9316d8f7b92a (bug 903519)
2018-01-11 22:18:23 +02:00
Steve Fink
cf8e0f399f
Bug 903519 - Strings in the nursery: JIT, r=jandem
...
--HG--
extra : rebase_source : 5a63d6424a2d4a593e2d45beb8dd287278d3a6b0
2018-01-04 15:49:14 -08:00
Steve Fink
294ff2a8f0
Bug 903519 - Default nursery strings to off, add ability to enable, r=jonco
...
--HG--
extra : rebase_source : 17eb8dcee3ec3b1245e88fb672c8d9ef0180205c
2017-11-03 14:00:14 -07:00
Steve Fink
1510c0fff7
Bug 903519 - Change Relocated marker to not confuse string vs object bit, r=jonco
...
--HG--
extra : rebase_source : 20e3e3d984b4a523abb6f3e2e0383a110d50ab53
2017-11-03 12:27:52 -07:00
Steve Fink
ada1935fff
Bug 903519 - Strings in the nursery: allow any thread to access zone of permanent atoms, r=jonco
...
--HG--
extra : rebase_source : b2ad4f1518f4dfb56dca2efbf22aaf173f09a2a3
2017-07-30 13:21:53 -07:00
Steve Fink
0c8e914a3b
Bug 903519 - Strings in the nursery: barriers, r=jonco
...
--HG--
extra : rebase_source : e28ddcc4b57d7498f27f4d6c3cfa5fdacf3c56f4
2017-07-28 16:46:38 -07:00
Adrian Wielgosik
0e43a76787
Bug 1421358 - Remove GCRuntime::notifyDidPaint and refresh_frame_slices.enabled pref. r=jonco
...
MozReview-Commit-ID: HBh0qyPckKv
2018-01-06 22:25:25 +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
Jon Coppeard
ff4f5d0483
Backed out changesets 115d70e6c818 and 1938afc34193 for memory and performance regressions (bug 1422575)
2017-12-12 16:29:19 -06:00
Jon Coppeard
0228e51379
Bug 1422575 - Give hash tables a minimum capacity based on the parameter passed to init() r=sfink
2017-12-07 18:28:42 +00: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
Andrew McCreight
6d088f4ffe
Bug 1421355, part 6 - Remove JS::NotifyDidPaint. r=jonco
...
MozReview-Commit-ID: 6rdvr6QfAD1
--HG--
extra : rebase_source : e3e1fb7de9cc30d10cd17d00f4290e27a46b4c0e
2017-11-28 10:04:23 -08:00
Lars T Hansen
3f9a90d355
Bug 1412852 - Structured clone WebAssembly.Memory objects. r=sfink
...
--HG--
extra : rebase_source : 0f96caf022c5d0ec51e5c9710468ed8015acf4aa
2017-10-31 13:38:28 +01:00
Jan de Mooij
07aeac9fbf
Bug 1419497 part 2 - Optimize pre-barriers in jit code by handling more cases without calling into C++. r=jonco
2017-11-22 09:40:00 +01:00
Ted Campbell
78a8f17527
Bug 1418842 - Support JS_OOM_BREAKPOINT on MSVC. r=sfink
...
MozReview-Commit-ID: CHLvYjKkP7n
2017-11-19 14:35:00 +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
7a796ccffb
Bug 1417123 - Move high level GC APIs to public/GCAPI.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
Jan de Mooij
793d5faa99
Bug 1417844 part 4 - Remove more JSVersion code. r=evilpie
2017-11-17 12:13:42 +01:00
Csoregi Natalia
635fe8c86f
Backed out 4 changesets (bug 1417123) for failing Spidermonkey builds js/src/jspubtd.h:100 r=backout
...
Backed out changeset 5af31f9f6bb5 (bug 1417123)
Backed out changeset f287a77b84c2 (bug 1417123)
Backed out changeset 57be86412a37 (bug 1417123)
Backed out changeset 14a6856d7361 (bug 1417123)
2017-11-16 15:05:54 +02:00
Jon Coppeard
28fca947a5
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
65b7a83d09
Bug 1417123 - Move high level GC APIs to public/GCAPI.h r=sfink
2017-11-16 12:21:07 +00:00
Jon Coppeard
08052a293d
Bug 1417123 - Move barrier function declarations to public/HeapAPI.h r=sfink
2017-11-16 12:21:07 +00:00
Jon Coppeard
757573b0fe
Bug 1417077
- Make JSTracer provide the current GC number and use this in nsXULPrototypeDocument::TraceProtos() r=sfink r=mccr8
2017-11-14 17:10:30 +00:00
Jon Coppeard
611b41a2e4
Bug 1414338 - Add some assertions to TraceDataRelocations r=sfink
2017-11-10 11:28:38 +00:00
Jon Coppeard
bb64bb40fa
Bug 1414310 - Assert that JS threading APIs are only used between JS_Initialize and JS_Shutdown r=luke
2017-11-09 15:00:47 +00:00
Jon Coppeard
a6e864d2ce
Bug 1410132 - Use a separate jemalloc arena for all SpiderMonkey malloc allocations r=njn r=nbp
2017-11-02 14:51:27 +00:00
Sebastian Hengst
a5d99d720e
Backed out 2 changesets (bug 1410132) for bustage, e.g. in spidermonkey non-unified at js/src/threading/Mutex.cpp:47: 'JS_IsInitialized' was not declared in this scope. r=backout on a CLOSED TREE
...
Backed out changeset 28c901411c1e (bug 1410132)
Backed out changeset 003ff6a2a254 (bug 1410132)
2017-11-07 20:04:43 +02:00
Jon Coppeard
45f03229f6
Bug 1410132 - Use a separate jemalloc arena for all SpiderMonkey malloc allocations r=njn r=nbp
2017-11-02 14:51:27 +00:00
Chia-Hung Duan
360fc92c15
Bug 1376891 - Support idle runnable for nursery collection. r=jonco, r=smaug
2017-10-30 18:07:42 +08:00
ANDREEA PAVEL
a859e870fe
Backed out changeset d3a0101e3936 (bug 1410132) for build failure ContainerParser.cpp:131 r=backout on a CLOSED TREE
2017-11-02 18:06:58 +02:00
Jon Coppeard
c6c2b4f6ba
Bug 1410132 - Use a separate jemalloc arena for all SpiderMonkey malloc allocations r=njn r=nbp
2017-11-02 14:51:27 +00:00
Jon Coppeard
eee897b0f9
Bug 1412912 - Split out AllocKinds.h and inline definitions in ArenaList.h r=sfink
2017-11-01 15:36:54 +00:00
Jan de Mooij
b4503bfe8c
Bug 1083482 part 1 - Remove SpiderMonkey support for legacy generators. r=arai
2017-11-01 10:48:10 +01:00
Csoregi Natalia
b0832d7215
Backed out changeset fbf84e79c44c (bug 1376891) for bustage CycleCollectedJSRuntime.h:254 r=backout on a CLOSED TREE
2017-11-01 15:32:09 +02:00
Chia-Hung Duan
778619638a
Bug 1376891 - Support idle runnable for nursery collection. r=jonco, r=smaug
2017-10-30 18:07:42 +08:00
Jon Coppeard
0f32c9b07b
Bug 1411302 - Don't try and OOM test worker threads r=jandem
2017-10-27 15:52:43 +01:00
Yoshi Huang
efdeb7661d
Bug 1407682 - Part 1: move ArenaCellIndexBytes and MaxArenaCellIndex r=jonco
2017-10-18 17:09:05 +08:00
Jan de Mooij
b99ddfe0e7
Bug 1408058 part 3 - Inline slot reads on the prototype in Ion based on Baseline feedback. r=evilpie
2017-10-26 09:38:22 +02:00