js/src/vm/ArrayBufferObject.cpp
9a1bd82aed934b42ee8e73b41e71ecb73f208ca0
created 2020-01-02 08:24 +0000
pushed 2020-01-06 15:38 +0000
Ted Campbell Ted Campbell - Bug 1510682 - Add field comments for uses of js::ClassExtension. r=jandem
72f4ca2286aa57406db67f8caed0806357621740
created 2020-01-02 14:43 +0000
pushed 2020-01-06 15:38 +0000
Ted Campbell Ted Campbell - Bug 1510682 - Add field comments for uses of JSClassOps. r=jandem
035b92018f00678945bcc60044eb7a97543e622e
created 2019-12-12 16:38 +0000
pushed 2020-01-06 15:38 +0000
André Bargull André Bargull - Bug 1603406 - Part 1: Unused ArrayBufferObject functions. r=mgaudet
039c220b566646e5c1d6c55a47be7cd941012786
created 2019-11-27 13:56 +0000
pushed 2019-12-02 11:32 +0000
André Bargull André Bargull - Bug 1599416 - Part 9: Remove tracking for TypedObjects with detached buffers. r=mgaudet
17f3a6b3c21ff6daae1b330dd09a8f95e99e8c55
created 2019-11-27 13:56 +0000
pushed 2019-12-02 11:32 +0000
André Bargull André Bargull - Bug 1599416 - Part 8: Remove view tracking for TypedObjects. r=mgaudet
e7051eca20f58f94b68a371bb9ec2f795049e03f
created 2019-11-08 11:09 +0000
pushed 2019-12-02 11:32 +0000
André Bargull André Bargull - Bug 1592992 - Part 17: Remove includes for jsutil.h. r=jonco
879358fd177136a5989b627dd297957065c12105
created 2019-11-08 11:06 +0000
pushed 2019-12-02 11:32 +0000
André Bargull André Bargull - Bug 1592992 - Part 12: Replace js::Min/Max with std::min/max. r=jonco
3a9b6b73cab7bb07ceea6a599911c668f3b735dc
created 2019-11-04 14:04 +0000
pushed 2019-12-02 11:32 +0000
André Bargull André Bargull - Bug 1531716 - Part 4: Replace jstypes macros with constexpr functions. r=jonco
93e5393aa92b81452cdb11066587e3298aace039
created 2019-11-04 14:02 +0000
pushed 2019-12-02 11:32 +0000
André Bargull André Bargull - Bug 1531716 - Part 3: Replace ROUNDUP with JS_ROUNDUP. r=jonco
6aa480e46a9f274eaa52a6b1ee876b4858ec0078
created 2019-11-01 13:44 +0000
pushed 2019-12-02 11:32 +0000
Ryan Hunt Ryan Hunt - Bug 1591047 part 4 - Track Wasm memory length in WasmArrayRawBuffer. r=lth
08f232c06c37d80cf005ec8643d019e8069ec6ef
created 2019-11-01 13:44 +0000
pushed 2019-12-02 11:32 +0000
Ryan Hunt Ryan Hunt - Bug 1591047 part 3 - Expose WasmArrayRawBuffer from 'ArrayBufferObject.h'. r=lth
53abc22d3299d3039c85b6ca1930ed55dfe93231
created 2019-10-30 15:51 +0000
pushed 2019-12-02 11:32 +0000
Jan de Mooij Jan de Mooij - Bug 1590643 - Be more consistent about arena_id_t arguments in MallocProvider.h. r=jwalden
7214f827b7fb017fd9ee1a81b9e54f2d97e5f8c1
created 2019-10-06 18:29 +0000
pushed 2019-10-14 16:59 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
0b78b172fc1a85466d8b39db6a42d2bf31ad2100
created 2019-08-29 15:42 +0000
pushed 2019-10-14 16:59 +0000
Tom Ritter Tom Ritter - Bug 1474659 Add dedicated AllocKinds just for ArrayBufferObjects. r=jonco
55715c676a88225379c56c94de4d153d8795c346
created 2019-08-30 20:55 +0000
pushed 2019-10-14 16:59 +0000
Ryan Hunt Ryan Hunt - Bug 1507759 - Wasm: Print slightly better warning message for failing to reserve huge memory. r=lth
5bd0f481e985190cf9bf6235d055d97a1378432b
created 2019-08-30 20:53 +0000
pushed 2019-09-02 08:54 +0000
Ryan Hunt Ryan Hunt - Bug 1518210 - Wasm: Conditionally create huge memory's based on wasm::IsHugeMemoryEnabled. r=lth
ea9924171afd99fe6f60ea4f61ac7a90bad2a0fd
created 2019-08-30 06:12 +0300
pushed 2019-09-02 08:54 +0000
Bogdan Tara Bogdan Tara - Backed out 9 changesets (bug 1518210) for hazard failure on ArrayBufferObject.cpp CLOSED TREE
b88d66dddefff7b557143585fb73f2cf9d3c6648
created 2019-08-30 02:38 +0000
pushed 2019-09-02 08:54 +0000
Ryan Hunt Ryan Hunt - Bug 1518210 - Wasm: Conditionally create huge memory's based on wasm::IsHugeMemoryEnabled. r=lth
c034401401c23f041958b032f5dad95ab382c228
created 2019-08-14 19:13 +0000
pushed 2019-08-26 19:26 +0000
Jon Coppeard Jon Coppeard - Bug 1573844 - Remove references to js::Class and remove the alias r=tcampbell
6e20195a06ad413429983196cc240506a4a12175
created 2019-08-14 10:00 +0000
pushed 2019-08-26 19:26 +0000
Jon Coppeard Jon Coppeard - Bug 1573508 - Replace internal references to js::ClassOps with JSClassOps and remove the alias r=tcampbell
31a82aadb5232a485136a5a277840758591c1669
created 2019-08-12 10:43 +0000
pushed 2019-08-26 19:26 +0000
Jon Coppeard Jon Coppeard - Bug 1572782 - Replace internal use of js::FreeOp with JSFreeOp r=tcampbell?
9f551fcee77ecd379e7df7d85102f72b6e9ec8ab
created 2019-08-12 13:37 +0300
pushed 2019-08-26 19:26 +0000
Oana Pop Rus Oana Pop Rus - Backed out 4 changesets (bug 1572782) for build bustages at build/src/obj-firefox/dist/include/nsIXPCScriptable.h on a CLOSED TREE
8239e4baa0f462d82fcaa6c5546d8cd369be2c7a
created 2019-08-12 10:16 +0000
pushed 2019-08-26 19:26 +0000
Jon Coppeard Jon Coppeard - Bug 1572782 - Replace internal use of js::FreeOp with JSFreeOp r=tcampbell?
1934fb86120cf251f9b0b31a64bb62b223fb16ed
created 2019-07-29 08:33 +0000
pushed 2019-08-26 19:26 +0000
Jon Coppeard Jon Coppeard - Bug 1568821 - Pass wasSwept parameter when freeing malloc memory r=sfink
7631a5be1dd9cfcc1abe5353a9bcb5babf4e1b65
created 2019-07-04 15:49 +0100
pushed 2019-08-26 19:26 +0000
Jon Coppeard Jon Coppeard - Bug 1564072 - Associate more per-zone memory with the zone r=sfink
dab3163234b506764553a7518bb9ef901a2e232b
created 2019-06-19 20:00 +0000
pushed 2019-07-01 09:00 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1557056 - Use extended function only for self-hosted function that needs to store canonical name in extended slot. r=jandem
5d3e1ea7769357bce7297b83be3863034bcf656e
created 2019-05-25 00:49 +0300
pushed 2019-07-01 09:00 +0000
Brindusan Cristian Brindusan Cristian - Merge inbound to mozilla-central. a=merge
28f5cf540df5060eb7d399af223fdb56aa4ea352
created 2019-05-24 14:26 +0300
pushed 2019-07-01 09:00 +0000
arthur.iakab arthur.iakab - Backed out changeset a296439a25ff (bug 1519636) for frequent Windows cppunit failures CLOSED TREE
a296439a25ffcafae35dda80b1ecc99e4e88cad3
created 2019-05-24 09:59 +0000
pushed 2019-07-01 09:00 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
8fb74fcbc12c83a230f700196e83193e6749d740
created 2019-06-19 20:00 +0000
pushed 2019-06-24 13:35 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1557056 - Use extended function only for self-hosted function that needs to store canonical name in extended slot. r=jandem a=ritu
54227b6122129de93a5348d3ff6300acd04f80ae
created 2019-05-09 16:15 +0100
pushed 2019-05-13 10:53 +0000
Jon Coppeard Jon Coppeard - Bug 1395509 - Track malloc memory associated with array buffers r=sfink
f4e9e5429fd82f9c3787ca2d42798a2bf3d353f9
created 2019-03-04 15:19 -0800
pushed 2019-03-11 13:01 +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-03-11 13:01 +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-03-11 13:01 +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
f99b937e9e7ce91e7d648a37251d4af8d1d6da68
created 2019-02-25 16:09 -0600
pushed 2019-03-11 13:01 +0000
Ryan Hunt Ryan Hunt - Bug 1523969 part 13 - Move method definition inline comments to new line in 'js/'. r=jorendorff
bb879a6a95f89fc3319899d3267c77a071d88076
created 2019-02-21 17:58 -0800
pushed 2019-03-11 13:01 +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-03-11 13:01 +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-03-11 13:01 +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-03-11 13:01 +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-03-11 13:01 +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-03-11 13:01 +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-03-11 13:01 +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-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove the useless OwnsState argument from ArrayBufferObject::initialize. r=sfink
f4101f4427821666a773c683fc893e977c81946b
created 2019-02-20 13:33 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Inline the contents of a fresh |if (true) { ... }| in ArrayBufferObject::createForContent. r=sfink
870a5571096968b606babc8eb1f7c495c18ddf1c
created 2019-02-20 13:33 -0800
pushed 2019-03-11 13:01 +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-03-11 13:01 +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-03-11 13:01 +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-03-11 13:01 +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-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Implement an ArrayBufferObject::extractStructuredCloneContents for structured-cloning an ArrayBuffer. r=sfink
a9638eeea75714425a28e5bcd9edb9ae55dd13b9
created 2019-02-20 13:33 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Make ArrayBufferObject::wasmGrowToSizeInPlace do its work *not* using ArrayBufferObject::stealContents, rather using the exact operations desired, far more simply. r=sfink
715e9b139ebbd407ac64b5ee8737d0f042f74b4c
created 2019-02-20 13:33 -0800
pushed 2019-03-11 13:01 +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
f487c864d2abb77498667161baf187b3ecb7f995
created 2019-02-20 13:33 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Make NoteViewBufferWasDetached a lambda instead of a global function. r=sfink
d8a4ce77f2f10639b3a5783b5961319d35342711
created 2019-02-18 23:13 -0800
pushed 2019-03-11 13:01 +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-03-11 13:01 +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-03-11 13:01 +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-03-11 13:01 +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
dcdddf46e820597ddcc985590782fd393cf4291b
created 2019-02-18 22:52 -0800
pushed 2019-03-11 13:01 +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
b2c09226e55b6d3b19160b585bc177d8df528264
created 2019-02-18 22:52 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Simplify ArrayBufferObject::createForContents some now that it's only ever passed non-null contents. r=sfink
4771a589408dc33f8751eb8b4c9fc2b087967ae9
created 2019-02-18 22:52 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Only pass BufferContents containing a non-null pointer to |ArrayBufferObject::createForContents|. r=sfink
51d373ab477b31f1306de895e235e9a879a5c099
created 2019-02-18 22:52 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Make AllocateArrayBufferContents return uint8_t*, and make its callers consistently not redundantly report OOMs. r=sfink
less more (0) -300 -100 -60 tip