gecko-dev/dom/bindings
Nicholas Nethercote 60b1f563cb Bug 1447951 - Store nsDynamicAtom's chars after the end of the object. r=froydnj
This reduces memory usage because we only need one allocation instead of two
for the dynamic atom and its chars, and because we don't need to store a
refcount and a size. It precludes sharing of chars between dynamic atoms, but
we weren't benefiting much from that anyway.

This reduces per-process memory usage by up to several hundred KiB on my
Linux64 box.

One consequence of this change is that we need to allocate + copy in
DOMString::SetKnownLiveAtom(), which could make some things slower.

--HG--
extra : rebase_source : ba4065ea31e509dd985c003614199f73def0596c
2018-06-22 09:38:42 +10:00
..
crashtests
docs
mozwebidlcodegen Bug 1455799 - Make an explicit webidl export target; r=bz,chmanchester 2018-04-30 12:52:28 -04:00
parser Bug 1465602 part 1. Enforce that the default toJSON can only return 'object'. r=qdot 2018-06-01 12:17:10 -04:00
test Bug 1467870. When cloning Xray expando chains for an adopt into the Xray compartment, don't lose expandos. r=mrbkap 2018-06-14 19:06:43 -04:00
AtomList.h
BindingDeclarations.h Bug 1466168: Remove mozilla::Forward in favor of std::forward. r=froydnj 2018-06-02 09:33:26 +02:00
Bindings.conf Bug 1451289 - Part 6: Rename ServoCounterStyleRule to CSSCounterStyleRule r=emilio 2018-06-05 02:07:25 +02:00
BindingUtils.cpp Bug 1455256 - Port more components to WorkerRef - part 1 - WorkerProxyToMainThreadRunnable, r=asuth 2018-06-18 16:37:21 -04:00
BindingUtils.h bug 1441098 - Part 4: Enable BigInt wrapping from DOM bindings. r=bz 2018-06-20 19:11:00 +03:00
CallbackFunction.h
CallbackInterface.cpp
CallbackInterface.h
CallbackObject.cpp Bug 1464374 part 2 - Pass JS::Realm* instead of JSCompartment* to CallSetup. r=bz,luke 2018-05-31 11:28:48 +02:00
CallbackObject.h Bug 1464374 part 2 - Pass JS::Realm* instead of JSCompartment* to CallSetup. r=bz,luke 2018-05-31 11:28:48 +02:00
Codegen.py Bug 1466221. Implement ToJSValue variants for non-refcounted (so owned) DOM objects. r=peterv 2018-06-09 01:03:15 -04:00
Configuration.py Bug 1466255. Allow interfaces only exposed to chrome-or-XBL to be in chrome-webidl. r=kmag 2018-06-09 01:03:26 -04:00
Date.cpp
Date.h
DOMJSClass.h Bug 1464772 part 5 - Use GetIsSecureContext instead of RealmCreationOptionsRef in IsSecureContextOrObjectIsFromSecureContext. r=bz 2018-06-06 11:44:17 +02:00
DOMJSProxyHandler.cpp Bug 1170771 - Remove now-empty nsDOMClassInfo. r=bz 2018-04-05 14:20:44 +02:00
DOMJSProxyHandler.h Bug 638054 - Remove watch class-hook and proxy trap r=jorendorff,bz 2017-10-24 20:48:14 +02:00
DOMString.h Bug 1447951 - Store nsDynamicAtom's chars after the end of the object. r=froydnj 2018-06-22 09:38:42 +10:00
ErrorIPCUtils.h Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
ErrorResult.h Bug 1343620 - Use JS_HAZ_ROOTED everywhere instead of programmatic annotations, r=pbone 2018-06-06 16:28:38 -07:00
Errors.msg Backed out 3 changesets (bug 1186265) for devtools chrome failures on browser_webconsole_visibility_messages.js. CLOSED TREE 2018-05-25 05:36:52 +03:00
Exceptions.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
Exceptions.h Bug 1435483 part 16. Switch to using dom::Exception, not nsIException, in C++ code. r=qdot 2018-02-05 16:34:05 -05:00
FakeString.h Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
GenerateCSS2PropertiesWebIDL.py Bug 1454591 part 1 - Generate more structured data in ServoCSSPropList.py. r=heycam 2018-05-04 13:44:51 +10:00
IterableIterator.cpp Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
IterableIterator.h Bug 1439063 - Part 1: Move several public headers from js/src to js/public. r=jandem. 2018-02-21 10:30:19 -06:00
JSSlots.h
mach_commands.py
Makefile.in Bug 1455799 - Make an explicit webidl export target; r=bz,chmanchester 2018-04-30 12:52:28 -04:00
moz.build Bug 1452542 part 6 - Replace uses of PythonCSSProps.h with the data file generated from Servo. r=froydnj 2018-04-17 14:40:12 +10:00
NonRefcountedDOMObject.h
nsIScriptError.idl Bug 1443079 - nsScriptError.isFromPrivateWindow must match the correct value also in e10s mode, r=smaug 2018-03-13 06:40:38 +01:00
nsScriptError.cpp Bug 1443079 - nsScriptError.isFromPrivateWindow must match the correct value also in e10s mode, r=smaug 2018-03-13 06:40:38 +01:00
nsScriptError.h Bug 1443079 - nsScriptError.isFromPrivateWindow must match the correct value also in e10s mode, r=smaug 2018-03-13 06:40:38 +01:00
nsScriptErrorWithStack.cpp Bug 1443079 - nsScriptError.isFromPrivateWindow must match the correct value also in e10s mode, r=smaug 2018-03-13 06:40:38 +01:00
Nullable.h Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
PrimitiveConversions.h
ReadableStream.h
Record.h Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
RootedDictionary.h
RootedOwningNonNull.h
RootedRefPtr.h
SimpleGlobalObject.cpp Bug 1466501 part 1 - Refactor ZoneSpecifier and add a sameCompartmentAs option to newGlobal in the shell. r=luke 2018-06-07 10:02:10 +02:00
SimpleGlobalObject.h
SpiderMonkeyInterface.h
StructuredClone.cpp Bug 1461292 part 1 - Rename JSAutoCompartment to JSAutoRealm. r=bz,luke 2018-05-16 10:53:16 +02:00
StructuredClone.h
ToJSValue.cpp
ToJSValue.h Bug 1466221. Implement ToJSValue variants for non-refcounted (so owned) DOM objects. r=peterv 2018-06-09 01:03:15 -04:00
TypedArray.h Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
UnionMember.h
WebIDLGlobalNameHash.cpp Bug 1461292 part 1 - Rename JSAutoCompartment to JSAutoRealm. r=bz,luke 2018-05-16 10:53:16 +02:00
WebIDLGlobalNameHash.h Bug 1445710. Reduce codesize a bit by removing DOM DefineInterfaceObject methods. r=peterv 2018-04-04 15:32:19 -04:00
XrayExpandoClass.h