js/src/vm/ArrayBufferObject.h
54227b6122129de93a5348d3ff6300acd04f80ae
created 2019-05-09 16:15 +0100
pushed 2019-12-10 00:42 +0000
Jon Coppeard Jon Coppeard - Bug 1395509 - Track malloc memory associated with array buffers r=sfink
c6640ffe809f4129e436205d8c5146f4bb90b059
created 2019-04-29 11:30 +0100
pushed 2019-12-10 00:42 +0000
Jon Coppeard Jon Coppeard - Bug 1547677 - Rename the ReadBarriered wrapper type to WeakHeapPtr and remove WeakRef r=sfink
efc786c70693716c36e0ac591b58808c9b5d4484
created 2019-04-02 17:11 +0000
pushed 2019-12-10 00:42 +0000
Robin Templeton Robin Templeton - bug 1456569 - Implement BigInt64 and BigUint64Array. r=wingo,jwalden,sfink
68ac00e863e05091280bf23765607af045cba3cc
created 2019-04-02 05:40 +0300
pushed 2019-12-10 00:42 +0000
Noemi Erli Noemi Erli - Backed out changeset 6ccad746f5d8 (bug 1456569) for Linting opt failure in TypedArray.js CLOSED TREE
6ccad746f5d83af425dec5b26c5bca6f6bcfbb46
created 2019-04-01 22:22 +0000
pushed 2019-12-10 00:42 +0000
Robin Templeton Robin Templeton - bug 1456569 - Implement BigInt64 and BigUint64Array. r=wingo,jwalden,sfink
d55401632cea92b6b2775ba278274b5490275876
created 2019-03-13 10:19 +0100
pushed 2019-12-10 00:42 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
f4e9e5429fd82f9c3787ca2d42798a2bf3d353f9
created 2019-03-04 15:19 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink
a7bb6e5afaf2d5afa0787244ff1b7fad07c8c9c1
created 2019-03-05 01:07 +0200
pushed 2019-12-10 00:42 +0000
Razvan Maries Razvan Maries - Backed out 4 changesets (bug 1532005, bug 1531638) for causing perma fails and Spidermonkey fail. CLOSED TREE
738cf4b1126a5e2daa22fe3f8e653b35da0306ad
created 2019-02-28 17:00 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink
bb879a6a95f89fc3319899d3267c77a071d88076
created 2019-02-21 17:58 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Implement ArrayBufferObject::prepareForAsmJS using a switch, not a series of ifs that's less obviously exhaustive. r=sfink
9103748036d1d9f72d34474014c9ce0267271eb5
created 2019-02-20 13:51 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Inline ArrayBufferObject::setNewData into its sole caller. r=sfink
ab967077f8a309b0d383297d071cd8397a100f7c
created 2019-02-20 13:51 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove the |newContents| argument from ArrayBufferObject::detach that's now identical for every caller. r=sfink
973c3800d5d6c10e06ce653add01316f9b0ee25e
created 2019-02-20 13:51 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove ArrayBufferObject::change{,View}Contents as unused. r=sfink
694fe0c4379319644cd9f64781fcb71a75558ed5
created 2019-02-20 13:33 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove setOwnsData and the OWNS_DATA flag. r=sfink
650bd5a18809655323834c7b56d84ad6c512d752
created 2019-02-20 13:33 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Now that |ownsData()| is always true, inline that true value into all callers. r=sfink
ef4c27821811d19a0dc64e4d9b4d2e7841bb1370
created 2019-02-20 13:33 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove the useless OwnsState argument from ArrayBufferObject::setDataPointer. r=sfink
a06864bc83520a544a3412f81b5d3ef0e930138b
created 2019-02-20 13:33 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove the useless OwnsState argument from ArrayBufferObject::initialize. r=sfink
870a5571096968b606babc8eb1f7c495c18ddf1c
created 2019-02-20 13:33 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove the useless OwnsState argument from ArrayBufferObject::createForContent. r=sfink
713088adfe5f3c60bdb08254b2768c70731db317
created 2019-02-20 13:33 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove the useless OwnsState argument from ArrayBufferObject::setNewData. r=sfink
a7a39ff0615820e92079562b305e996865e7b56f
created 2019-02-20 13:33 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove the useless OwnsState argument from ArrayBufferObject::changeContents. r=sfink
5cb592de5e03d0df8254bbd779d84760b0d16eef
created 2019-02-20 13:33 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove ArrayBufferObject::stealContents now that it's unused. r=sfink
63536a044a29b3f723e3ee829f260dafc41feb54
created 2019-02-20 13:33 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Implement an ArrayBufferObject::extractStructuredCloneContents for structured-cloning an ArrayBuffer. r=sfink
715e9b139ebbd407ac64b5ee8737d0f042f74b4c
created 2019-02-20 13:33 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Implement an ArrayBufferObject::stealMallocedContents for use in JS_StealArrayBufferContents, rather than reusing the hoary ArrayBufferObject::stealContents with finicky caller-side should-this-steal logic. r=sfink
d8a4ce77f2f10639b3a5783b5961319d35342711
created 2019-02-18 23:13 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove most uses of DoesntOwnData for NO_DATA and USER_OWNED and make current users that depend on |ownsData()| not do so. r=sfink
ac3ad3942d6791b7df823d87b23f68efdfa7317a
created 2019-02-18 23:06 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove |ArrayBufferObject::hasStealableContents()| and replace it with its contents, appropriately simplified for each calling location. r=sfink
5b7a07b449ba9d2a0737a3d193d8fec3984ab9ca
created 2019-02-18 23:06 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Initialize all ArrayBuffers that store their data inline using a single function. r=sfink
3556d94cbc81358a0dbe561079b71f924c235d3f
created 2019-02-18 22:53 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Add BufferKind::NO_DATA for ArrayBuffers that have no data (whether because byteLength is zero or because the ArrayBuffer is detached), for which the value of |ownsData()| is irrelevant. r=sfink
1cead3a873e2b866f6ffdc1e1f9a83442070a72c
created 2019-02-18 22:52 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove ArrayBufferOffset::offsetOfFlags as unused. r=sfink
dcdddf46e820597ddcc985590782fd393cf4291b
created 2019-02-18 22:52 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Add BufferContents::createFoo functions for every kind so that the templaty, harder-to-search-for create function can be removed. r=sfink
92fc3d9b6699885b0af2feb47b9577640d6d2898
created 2019-02-18 22:52 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove trailing arguments to ArrayBufferObject::createForContents that are identical for every caller. r=sfink
765bc7a86f726c7fd3633ca29026cc10f4950864
created 2019-02-18 22:52 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Rename the two ArrayBufferObject::create overloads to ArrayBufferObject::create{Zeroed,WithContents}, and inline a simplified form of the more-complex ArrayBufferObject::create into the new createZeroed function. r=sfink
5a304d4b53c05587d9da2fdb4db5276380c6ff5b
created 2019-02-18 22:52 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove ArrayBufferObject::hasData and perform its operation in its sole caller in a more straightforward manner. r=sfink
76600605e1e3ce8a54e7ab8c1d98851cad365959
created 2019-02-18 22:52 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove JS_ExternalizeArrayBufferContents because it has no users except in tests, implements complicated ownership semantics, and is definite implementation complexity. r=sfink
9e5e10661a782ba3bd5836eef5505b3f10e09967
created 2019-02-18 22:52 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Move most of JS_ExternalizeArrayBufferContents into a static member function on ArrayBufferObject so that internals-observing code isn't smeared across two functions. r=sfink
c0aee08543ad5825d3a08aedf60ea8b1f524625f
created 2019-02-18 22:52 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Split PLAIN into INLINE_DATA/MALLOCED for ArrayBuffer kinds. r=sfink
eed1098d0d6c9e3af5b02154295e452c6c21bb48
created 2019-02-22 05:43 +0200
pushed 2019-12-10 00:42 +0000
Csoregi Natalia Csoregi Natalia - Backed out 16 changesets (bug 1529298, bug 1529294) for spidermonkey bustages on testAtomicOperations.cpp. CLOSED TREE
d80b681a68e6a273d1663d5048c3dfcd7b4debd1
created 2019-02-18 23:06 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Initialize all ArrayBuffers that store their data inline using a single function. r=sfink
086849ef0dd549f9562bc56e79abb62047a99d15
created 2019-02-18 22:53 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Add BufferKind::NO_DATA for ArrayBuffers that have no data (whether because byteLength is zero or because the ArrayBuffer is detached), for which the value of |ownsData()| is irrelevant. r=sfink
6f66e6c059df0b3a13307c83ffb98b821cd592a4
created 2019-02-18 22:52 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove ArrayBufferOffset::offsetOfFlags as unused. r=sfink
6cc3cd982953405eaa669248b103c5cc6b987d57
created 2019-02-18 22:52 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Add BufferContents::createFoo functions for every kind so that the templaty, harder-to-search-for create function can be removed. r=sfink
c9f62f10eeb5db27027ebb2c6ad54db1d23a9db6
created 2019-02-18 22:52 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove trailing arguments to ArrayBufferObject::createForContents that are identical for every caller. r=sfink
1477b8eb544268bdd7deacd909077bfbebc59f0e
created 2019-02-18 22:52 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Rename the two ArrayBufferObject::create overloads to ArrayBufferObject::create{Zeroed,WithContents}, and inline a simplified form of the more-complex ArrayBufferObject::create into the new createZeroed function. r=sfink
5be8cb19ad3d9f581bacf4a6acf9a7dba43dd5da
created 2019-02-18 22:52 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove ArrayBufferObject::hasData and perform its operation in its sole caller in a more straightforward manner. r=sfink
432b2e88c651908122e95cc5bdca63aed1758217
created 2019-02-18 22:52 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove JS_ExternalizeArrayBufferContents because it has no users except in tests, implements complicated ownership semantics, and is definite implementation complexity. r=sfink
3512de18097c797cdbeec56b56efdf3e36eb3399
created 2019-02-18 22:52 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Move most of JS_ExternalizeArrayBufferContents into a static member function on ArrayBufferObject so that internals-observing code isn't smeared across two functions. r=sfink
9294b0d54597d7ef4ec4615739306f9bb9f3d1e5
created 2019-02-18 22:52 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Split PLAIN into INLINE_DATA/MALLOCED for ArrayBuffer kinds. r=sfink
2849a2838ea50d685b386bd962b8b41ef5f84899
created 2019-02-18 22:47 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Split PLAIN into PLAIN_DATA and USER_OWNED ArrayBuffer data types to clearly segregate the two, rather than categorizing them both as the same thing. r=sfink
6e25dc78ef1e6b949e6a3839a9a28f43a14ae635
created 2019-02-18 22:45 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Add a BufferContents::createFailed() to use in situations where a failure occurs, rather than overloading createPlain(nullptr). r=sfink
f24c3019443fbfcc4f7d2ee5a67f1d364889840a
created 2019-02-18 22:45 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Change the comment by ArrayBufferFlags's FOR_ASMJS to indicate that buffers prepared for asm.js must be PLAIN, MAPPED, or EXTERNAL. r=sfink
6a9063e764426f1adb8852595121162a0708e4cb
created 2019-02-18 22:45 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Add an extra bit to ArrayBufferObject::BufferKind's KIND_MASK to permit adding additional buffer kinds beyond the current four. r=sfink
983e5c1a6ba7eda53a9075bc657cf82ba6c06028
created 2019-02-15 19:53 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1527174 - Remove ArrayBufferObject::trace as unnecessary now that buffers for inline typed objects no longer exist. r=sfink
f21f35c4c4ec7e7b0ec6b82570f1b1e1f28c1414
created 2019-02-15 19:53 -0800
pushed 2019-12-10 00:42 +0000
Jeff Walden Jeff Walden - Bug 1527174 - Remove ArrayBufferObject::ArrayBufferFlags's FOR_INLINE_TYPED_OBJECT initializer, as this flag is never set when typed object buffers can't be reified. r=sfink
8f35396665f570d44b59fd968ceccc5dd62dddcc
created 2019-01-03 02:46 -0800
pushed 2019-12-10 00:42 +0000
André Bargull André Bargull - Bug 1517259 - Part 3: Sprinkle a few constexpr throughout TypedArray code. r=tcampbell
66eb1f485c1a3ea81372758bc92292c9428b17cd
created 2018-12-01 04:52 +0900
pushed 2019-12-10 00:42 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp
e4712449ba4303cef134ba0b3f1bea13fbd50c4a
created 2018-11-30 16:39 +0100
pushed 2019-12-10 00:42 +0000
Benjamin Bouvier Benjamin Bouvier - Bug 1511383: Update vim modelines after clang-format; r=sylvestre
6f3709b3878117466168c40affa7bca0b60cf75b
created 2018-11-30 11:46 +0100
pushed 2019-12-10 00:42 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
8886fad423dc0f7de57b96512b5680eecc2733ba
created 2018-10-15 11:43 +0000
pushed 2019-12-10 00:42 +0000
Jan de Mooij Jan de Mooij - Bug 1496378 part 6 - Remove TypedObject to ArrayBufferViewObject static_cast hackery. r=jwalden
992c0bd2f327fd11fa790814162621f77080eb6b
created 2018-10-15 11:42 +0000
pushed 2019-12-10 00:42 +0000
Jan de Mooij Jan de Mooij - Bug 1496378 part 4 - Move ArrayBufferViewObject and related APIs into vm/ArrayBufferViewObject.{h,cpp}. r=jwalden
e6c5e6c15848b2df293dade2084ec9a585f21c2b
created 2018-10-15 11:41 +0000
pushed 2019-12-10 00:42 +0000
Jan de Mooij Jan de Mooij - Bug 1496378 part 3 - Move buffer methods from DataViewObject/TypedArrayObject to ArrayBufferViewObject. r=jwalden
1f8af7db9d96ee0e9fd4f9d4949efe3921f99290
created 2018-10-15 11:51 +0000
pushed 2019-12-10 00:42 +0000
Jan de Mooij Jan de Mooij - Bug 1496378 part 2 - Move data pointer accessors from DataViewObject/TypedArrayObject to ArrayBufferViewObject. r=jwalden
less more (0) -100 -60 tip