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

134 Коммитов

Автор SHA1 Сообщение Дата
Terrence Cole 52e9feb9d3 Bug 1234862 - Part 5: Rename DefaultGCPolicy to GCPolicy; r=sfink 2016-01-26 12:53:35 -08:00
Terrence Cole eff749c612 Bug 1234862 - Part 1: Rename GCMethods to BarrierMethods; r=sfink
--HG--
extra : rebase_source : a773cf25e8e9986a154b8a8b0d04c6b9267545b8
2015-12-28 10:11:40 -08:00
Michael Wu ed4b205b47 Bug 1212663 - Use doxygen style comments in jsapi, r=Waldo 2015-10-17 13:27:16 -04:00
Nick Fitzgerald 040e2d5aab Bug 1211006 - Add Debugger.Source.prototype.canonicalId; r=ejpbruel 2015-10-13 09:42:39 -07:00
Terrence Cole 9f3728184b Bug 1205454 - Consolidate the tagged pointer marking methods; r=sfink
--HG--
extra : rebase_source : 18d7fe3f1f7d652e07c18a6e40b1b88f0e36cef0
2015-09-17 10:57:55 -07:00
Jon Coppeard 8586708ac6 Bug 1191236 - Remove extract() methods used by operation forwarding on rooting types, r=terrence
--HG--
extra : rebase_source : 932019cdc060285425e70e7df7c278d0bbdfba5b
2015-08-05 02:38:00 -07:00
Carsten "Tomcat" Book 816d88e7a2 Backed out changeset 3f861148c83c (bug 1191236) for hazard bustage 2015-08-06 13:04:18 +02:00
Jon Coppeard a2d36e844e Bug 1191236 - Remove extract() methods used by operation forwarding on rooting types r=terrence 2015-08-06 10:23:21 +01:00
Jan de Mooij b7a55dbc9b Bug 1184564 part 5 - Remove jsval typedef. r=jorendorff 2015-07-19 00:01:37 +02:00
Jan de Mooij bd0285d1bf Bug 1177892 part 6 - Remove UINT_TO_JSVAL. r=evilpie 2015-07-17 11:51:54 +02:00
Jan de Mooij aa64d5cee2 Bug 1177892 part 5 - Remove DOUBLE_TO_JSVAL. r=evilpie 2015-07-17 11:51:52 +02:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Terrence Cole 6f7461956e Bug 1175642 - Fix the interface that RelocatablePtr uses to interact with the StoreBuffer; r=jonco
* * *
Bug 1175466 - "Allocate arguments objects in the nursery" [r=terrence]
2015-06-18 10:23:49 -07:00
Terrence Cole 84632b1926 Backed out changeset 6da67b7e65ac (Bug 1175642) for unexpected bustage on a CLOSED TREE. r=meow
--HG--
extra : rebase_source : 91c70dcb1adff7e8b89d8a5ba4962e8ac155a4be
extra : amend_source : 5a58fa4dca3489030da975cd234b1bbfbe5d3aac
2015-07-01 11:43:40 -07:00
Terrence Cole 2dab0233e6 Bug 1175642 - Fix the interface that RelocatablePtr uses to interact with the StoreBuffer; r=jonco
* * *
Bug 1175466 - "Allocate arguments objects in the nursery" [r=terrence]

--HG--
extra : rebase_source : 79afaf7ac29221ff44a627ab3e05cf2b780fa633
2015-06-18 10:23:49 -07:00
Jan de Mooij 2c2b7af49c Bug 1177892 part 4 - Remove INT_TO_JSVAL. r=evilpie 2015-06-30 21:10:04 -07:00
Jan de Mooij 303b210317 Bug 1177892 part 3 - Remove OBJECT_TO_JSVAL. r=evilpie 2015-06-30 21:09:46 -07:00
Jan de Mooij 80aa064383 Bug 1177892 part 2 - Remove PRIVATE_TO_JSVAL. r=evilpie 2015-06-30 11:20:58 -07:00
Jan de Mooij 155b1afd35 Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie 2015-06-30 11:20:56 -07:00
Ryan VanderMeulen 7483c0563e Backed out changesets ad58c270ce87 and 849151330d60 (bug 1177892) for B2G bustage.
CLOSED TREE
2015-06-30 15:48:11 -04:00
Jan de Mooij ba71789f3a Bug 1177892 part 2 - Remove PRIVATE_TO_JSVAL. r=evilpie
--HG--
extra : rebase_source : ab95d8c3cea6679b0dce33a9cac6a1c9b0b0871a
2015-06-30 11:20:58 -07:00
Jan de Mooij 731f441d6e Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie
--HG--
extra : rebase_source : f7ae63c351c82516e7db48a12c4cfb2048a81805
2015-06-30 11:20:56 -07:00
Jan de Mooij 976586cb5f Bug 1177825 - Remove JSVAL_* constants. r=evilpie 2015-06-29 18:36:44 -07:00
Terrence Cole 929078d8c7 Backout 6b847a10bbb1 (Bug 1175642) for being on top of a regression.
--HG--
extra : rebase_source : a87230e8b9ffe2e09cba41874e60f44bc0aa7e16
2015-06-24 16:25:12 -07:00
Terrence Cole 629acf9edc Bug 1175642 - Fix the interface that RelocatablePtr uses to interact with the StoreBuffer; r=jonco
--HG--
extra : rebase_source : 974375bcb15e889187f7138c82f23c60021e9d21
2015-06-18 10:23:49 -07:00
Terrence Cole 04c8b8a536 Bug 1169097 - Remove CountHeap; r=sfink 2015-05-28 16:35:06 -07:00
Terrence Cole c01ef51c2d Bug 1167453 - Rename JSGCTraceKind and make it a C++11 enum class; r=jonco
--HG--
extra : rebase_source : 7dbeee0826fa20477ed227c9d336fdfe6de6ffd2
2015-05-22 10:40:24 -07:00
Terrence Cole 412f67a0f1 Bug 1157533 - Share Value and jsid typed dispatch code; r=jonco
--HG--
extra : rebase_source : d6289bce244270d0f321f8b3ab5ed0a99eee3883
2015-04-23 10:42:31 -07:00
Jan de Mooij b8b1677f0f Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 23:22:11 +01:00
Phil Ringnalda c8a25251c1 Backed out changeset 0c030f97a04f (bug 1144366) for being on top of patches being backed out
CLOSED TREE
2015-03-28 10:39:56 -07:00
Jan de Mooij 8d6d44ecb8 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 12:08:37 +01:00
Brian Hackett a054a9a07e Bug 1143521 - Remove IsPoisonedPtr stuff, r=sfink. 2015-03-18 18:01:35 -07:00
Terrence Cole 77089204b6 Bug 1128110 - Share common operators on pointer-like GC classes; r=sfink 2015-02-04 15:27:00 -08:00
Jon Coppeard 89f2b3b4c3 Bug 1107639 - Give PersistentRooted<Value> the standard operations on Value r=terrence 2015-01-23 10:23:56 +00:00
Ehsan Akhgari d803a0513e Bug 1114351 - Use mozilla::IsNaN() in DOUBLE_TO_JSVAL(); r=Waldo
Note that this requires making sure that IsNaN is constexpr because it
needs to be passed to the constexpr IMPL_TO_JSVALUE() function in
DOUBLE_TO_JSVAL().

--HG--
extra : amend_source : dbd8bb0659b53e7d36d2600ac97f0a753ef772c7
2014-12-21 19:16:49 -05:00
Terrence Cole 20e03ef2a5 Bug 1105069 - Part 17: Convert xpc_IsGrayGCThing to GCCellPtr; r=mccr8, j=jonco
--HG--
extra : rebase_source : 9fdc5ac9ca8de9c12a399532db7e77bc34abb7da
2014-12-05 09:38:34 -08:00
Tom Schuster 0c4c1b681f Bug 1097267 - Change to the simpler enumerate hook in the js engine. r=jorendorff 2014-12-11 19:31:10 +01:00
Terrence Cole d0e0d193b8 Bug 1107349 - Always build in enerational GC support; r=jonco 2014-12-04 09:45:05 -08:00
Terrence Cole 972aea62c7 Bug 1105069 - Part 3: Convert ExposeGCThingToActiveJS to use GCCellPtr; r=jonco
--HG--
extra : rebase_source : 68fc0a09b046eaf0042337d27bceac1de2b26150
2014-05-19 14:58:05 -07:00
Jeff Walden e7ab01f9cd Bug 712939 - Use JS_ENUM_HEADER and JS_ENUM_FOOTER only where absolutely necessary, and don't expose them for general use. r=jandem 2014-11-07 18:33:20 -08:00
Shu-yu Guo 0c56f63388 Bug 1092032 - Bias magic uint32s in ArgumentObject forwarded slots by the maximum JSWhyMagic value to distinguish them from the JSWhyMagic-based magic values. (r=luke) 2014-10-31 16:46:26 -07:00
Shu-yu Guo d7d1af4ae1 Bug 1001090 - Part 1: Implement let temporal dead zone in the frontend and interpreter. (r=Waldo) 2014-09-15 16:30:45 -07:00
Terrence Cole 62fae135f8 Bug 914402 - Remove the defunct conservative stack scanner; r=sfink
--HG--
extra : rebase_source : c261ef7492694e9724c78edc7bc0dac7aa4357ba
2014-09-09 15:08:23 -07:00
Brian Hackett 8aadadd66a Bug 934450 - Allow objects to have copy on write elements, r=billm,jandem. 2014-08-19 22:25:37 -08:00
Dan Gohman d24f091257 Bug 1054334 - SpiderMonkey: Eliminate unnecessary parentheses around return values r=nbp 2014-08-18 12:20:40 -07:00
Terrence Cole 3718c92afc Bug 1047120 - PurpleBuffer doesn't actually need to use Heap<T>; r=mccr8,jonco 2014-07-31 14:43:45 -07:00
Terrence Cole 260506a9ca Bug 1046945 - Move ExposeGCThingToActiveJS to js::gc:: and use the typed wrappers instead; r=jonco
--HG--
extra : rebase_source : 99d98ed9351f563ed3b6eb18ad67d2f3ae736df4
2014-07-31 12:14:17 -07:00
Terrence Cole 8d0192ae1b Bug 1045181 - Miscellaneous small cleanups in js::gc; r=jonco 2014-07-29 10:47:43 -07:00
Steve Singer f7e8253480 Bug 1030400 - Add sym to the 32 bit big endian branch. r=jorendorff 2014-06-25 18:48:00 +02:00
Jason Orendorff 26bdfdcc2f Bug 645416, part 3 - Symbol layout and GC support for allocating them. r=terrence.
Layout: js/src/vm/Symbol.h defines the new class JS::Symbol. JS::Symbol is the
same size as JSString on all platforms, because the allocator does not support
smaller allocations.

Allocation: Since the purpose of symbols is to serve as property keys, they are
always allocated in the atoms compartment.

We take a lock when allocating. This could probably be replaced with a
main-thread-only assertion. However, if atom allocation is not already a
bottleneck, symbol allocation probably never will be.

Symbols are given their own finalize-class in the GC. This means we allocate a
page per zone for symbols, even though they are only ever allocated in the
atoms zone. Terrence thought this could be easily fixed later. It should be; we
never touch the page, but a 32-bit virtual address space does not just have
infinite pages to spare.

A jsapi-test exercises the new symbol allocation code. A few oddities in
jsapi-tests are fixed in passing.

Discussion after review led to some new assertions about minimum object size in
AllocateObject and AllocateNonObject.

--HG--
extra : rebase_source : 45abb651d3b1b493d77a5dd0eb554f96b058c63a
2014-06-23 10:55:51 -05:00