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
Ehsan Akhgari
6d0b3c59c0
Bug 1028633 - Use gcc inline assembly in xptcstubs.cpp for clang-cl; r=bsmedberg
2014-06-23 10:30:02 -07:00
Ehsan Akhgari
af5754a6ea
Bug 1028613 - Modify the x86 MSVC implementation of NS_InvokeByIndex to make it compatible with clang-cl; r=bsmedberg
2014-06-23 10:29:21 -07:00
Byron Campen [:bwc]
123de17a5e
Bug 1024765
- Part 2: Make refcounting logic around PostTimerEvent more explicit. r=bz
2014-06-16 14:13:04 -07:00
Byron Campen [:bwc]
40bc0f6c09
Bug 1024765
- Part 1: Add test case for timers firing when the target thread is not running. r=bwc
2014-06-17 13:37:04 -07:00
Peter Van der Beken
bd776f4d97
Bug 1027095
- Convert XPathResult to WebIDL bindings - add WebIDL API and switch. r=bz.
2013-07-04 17:40:06 +02:00
Jonathan Watt
b73bc43c94
Bug 1016680, part 5 - Report the memory used by PresShell::mCaret. r=dbaron
2014-06-22 23:02:59 +01:00
Benoit Jacob
5636a738e0
Bug 1028428 - clang+libc++ still doesn't provide a usable std::is_destructible, so just use the fallback implementation instead - no review, bustage fix
2014-06-21 15:46:27 -04:00
Chris Peterson
4d8cb6ff03
Bug 1013065 - Remove bug 65664's NSCAP_DONT_PROVIDE_NONCONST_OPEQ workaround. r=dbaron
2014-05-04 23:11:04 -07:00
Jim Chen
67f91b2230
Bug 1023461 - Record filename and line number for chrome JS entries; r=snorp
2014-06-20 14:28:10 -04:00
Jim Chen
be24a3cd37
Bug 1023461 - Add HangStack class to support internal string buffer; r=vladan
2014-06-20 14:28:10 -04:00
Jim Chen
20218b8f58
Bug 1023461 - Remove temporary stack buffer in ThreadStackHelper; r=snorp
2014-06-20 14:28:10 -04:00
Kyle Huey
d46f3641a6
Bug 1027251: Disable destructor checking on Windows. r=me
2014-06-20 07:33:00 -07:00
Benoit Jacob
891264cd81
Bug 1027251 - Enforce that dangerous public destructors must be explicitly whitelisted - r=ehsan
2014-06-20 07:08:25 -04:00
Ms2ger
30794d3da6
Bug 1025022 - Pass T* to nsCOMArray::Contains; r=NeilAway
2014-06-20 12:32:50 +02:00
Kyle Huey
b1e3198eed
Bug 737976: Remove nsINodeInfo. r=smaug
...
--HG--
rename : content/base/src/nsNodeInfo.cpp => dom/base/NodeInfo.cpp
rename : content/base/public/nsINodeInfo.h => dom/base/NodeInfo.h
rename : content/base/src/nsNodeInfo.h => dom/base/NodeInfoInlines.h
2014-06-19 19:01:40 -07:00
Birunthan Mohanathas
bc0233fe47
Bug 1026535 - Fix mismatched class/struct tags. r=ehsan
2014-06-18 17:57:51 -07:00
Birunthan Mohanathas
51ba75d135
Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin
2014-06-18 17:56:02 -07:00
Benoit Jacob
12f098cbf9
Bug 1027251 - Fix or whitelist dangerous public destructors in xpcom/ - r=ehsan
2014-06-18 22:29:00 -04:00
Benoit Jacob
b468bd741b
Bug 1027251 - Initial empty HasDangerousPublicDestructor whitelist - r=ehsan
2014-06-18 22:28:59 -04:00
Nicholas Nethercote
aaf6fb2124
Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
...
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Eric Faust
f9d65507e2
Bug 1011660 - Remove separate DOMClass struct. (r=bz)
2014-06-18 13:19:19 -07:00
Jed Davis
80b5f82cde
Bug 1011350 - Collect TaggedAnonymousMemory info in SystemMemoryReporter. r=njn
...
To allow flexibility in tagging, and integrate with non-Gecko uses of
this facility (e.g., Bionic's malloc() tags with "libc_malloc"), the
fixed list of memory kinds used to aggregate across processes is replaced
with arbitrary strings.
2014-06-17 17:56:00 +02:00
Josh Matthews
6599bdbd92
Bug 902271 - Make StorageInputStream serializable cross-process. r=bent
2014-06-17 11:52:59 +01:00
Jan Beich
1d8a86d41b
Bug 1015547 - Fill |struct nsID| via arc4random_buf if available on Android and BSDs. r=vlad, r=glandium
2014-06-02 18:42:00 -04:00
Jan Beich
ddc9fe103d
Bug 1015547 - Prefer arc4random to generate UUIDs on BSDs. r=vlad, r=glandium
2014-06-02 18:41:00 -04:00
Wes Kocher
c2735215c7
Backed out changeset 66f9a0038c67 (bug 774388) for various frequent intermittent failures including mochitest-2 on a CLOSED TREE
2014-06-16 19:00:15 -07:00
Benoit Jacob
cea2702a66
Bug 774388 - Patch 5: Properly manage the lifetime of the compositor thread, by waiting for CrossProcessCompositorParents to die before destroying it - r=nical,mattwoodrow
2014-06-06 09:51:26 -04:00
Ryan VanderMeulen
ef66038dae
Merge m-c to inbound on a CLOSED TREE. a=merge
2014-06-16 14:26:54 -04:00
Daniel Stenberg
43f0c8ec63
Bug 237623 - detect broken HTTP1.1 transfers. r=mcmanus,seth
...
Return error when the protocol layer detects a framing error. More data
was supposed to be delivered than what actually did arrive.
Error code returned for this: NS_ERROR_NET_PARTIAL_TRANSFER
In HTTP1.1 for Content-Length: and chunked-encoding underruns
In http2 and SPDY for framing errors when data has already been received.
imgRequest::OnStopRequest will keep partially loaded images shown but
remove them from cache.
2014-06-09 00:15:00 +02:00
Jan Keromnes
5afc74ea35
Bug 976024 - Track Unique Set Size in the Developer HUD. r=21, r=njn
2014-06-13 06:38:00 +02:00
Benoit Girard
beb4fd14be
Bug 1021990 - Migrate to xpcom based EventTracer. r=ehsan
2014-06-06 17:53:42 -04:00
Benoit Jacob
8f1cf755a9
Bug 774388 - Patch 4: Flatten the way that we track whether we are using OMTC, and move Layers IPC shutdown code back to gfxPlatform (but still triggered by ShutdownXPCOM) - r=nical,sotaro
2014-06-06 09:51:24 -04:00
Jan Varga
55b6d367ce
Bug 1006485 - Part a: Rename FileHandle to MutableFile and LockedFile to FileHandle; r=bent
...
--HG--
rename : dom/filehandle/FileHandle.cpp => dom/filehandle/MutableFile.cpp
rename : dom/filehandle/FileHandle.h => dom/filehandle/MutableFile.h
rename : dom/filehandle/test/test_lockedfile_lifetimes.html => dom/filehandle/test/test_filehandle_lifetimes.html
rename : dom/filehandle/test/test_lockedfile_lifetimes_nested.html => dom/filehandle/test/test_filehandle_lifetimes_nested.html
rename : dom/filehandle/test/test_lockedfile_ordering.html => dom/filehandle/test/test_filehandle_ordering.html
rename : dom/filehandle/test/test_overlapping_lockedfiles.html => dom/filehandle/test/test_overlapping_filehandles.html
rename : dom/filehandle/test/test_readonly_lockedfiles.html => dom/filehandle/test/test_readonly_filehandles.html
rename : dom/indexedDB/IDBFileHandle.cpp => dom/indexedDB/IDBMutableFile.cpp
rename : dom/indexedDB/IDBFileHandle.h => dom/indexedDB/IDBMutableFile.h
rename : dom/webidl/IDBFileHandle.webidl => dom/webidl/IDBMutableFile.webidl
rename : dom/webidl/FileHandle.webidl => dom/webidl/MutableFile.webidl
2014-06-12 05:35:29 +02:00
Ed Morley
91ca7607e9
Merge latest green b2g-inbound changeset and mozilla-central; a=merge
2014-06-11 17:14:10 +01:00
Vicamo Yang
8d5be851b4
Bug 1023148 - Use WebIDL codegen to implement RIL & WiFi events. r=smaug
2014-06-11 09:23:34 +08:00
Brian Birtles
d3ea6b392e
Bug 1004365 part 3b.1 - Add % operator to TimeDuration; r=froydnj
2014-06-11 14:19:08 +09:00
Brian Birtles
80c0d7b5c4
Bug 1004365 part 2 - Add TimeDuration != operator; r=froydnj
2014-06-11 14:19:07 +09:00
Aaron Klotz
b4318a6cc8
Bug 1021187: Main thread should be unregistred from IOInterposer in ASAN builds; r=ehsan
2014-06-10 14:33:19 -06:00
Ryan VanderMeulen
2c4e67a9ed
Merge inbound to m-c. a=merge
2014-06-09 16:46:33 -04:00
ffxbld
5d6165c841
Version bump. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release
2014-06-09 11:50:02 -07:00
Ehsan Akhgari
dab181fc1f
Bug 1022420 - Disable NS_NO_VTABLE on clang-cl in order to avoid the compiler warning; r=froydnj
2014-06-09 07:57:10 -04:00
Ehsan Akhgari
0d4e61e13c
Bug 1022033 - Disable NS_lroundup30 on clang-cl; r=jrmuizel
...
This function contains inline assembly which clang-cl can't compile yet.
2014-06-06 20:13:48 -04:00
Ehsan Akhgari
bf64930c2c
Bug 1021494 - Fix a compiler error with clang-cl in nsScriptableInputStream.cpp; r=froydnj
...
--HG--
extra : rebase_source : ec8db04ca59e87caed2f523ccc1b3dd645ab37c2
2014-06-06 18:56:07 -04:00
Jim Chen
28a5e23304
Bug 1013326 - Distinguish chrome and content scripts in pseudostack; r=snorp
2014-06-06 18:39:40 -04:00
Chris Peterson
163d828c29
Bug 945029 - Fix up Android's broken [u]intptr_t inttype macros. r=Waldo
2014-05-12 22:27:14 -07:00
Nicolas B. Pierron
e05d0c8fe9
Bug 1014071
- Add support for USS on Linux. r=BenWa,njn
2014-06-05 08:31:09 -07:00
Olli Pettay
3fa67f89f1
Bug 1020622 - Trace black windows' (webidl) event listeners, r=mccr8
2014-06-05 02:48:50 +03:00
Nathan Froyd
3250d2da42
Bug 996061 - part 4 - throw away unscriptable interfaces that aren't otherwise needed; r=ted
2014-04-15 14:41:08 -04:00
Nathan Froyd
d5634d135b
Bug 996061 - part 3 - try to shim param information in xptiInterfaceEntry when possible; r=bholley
...
This patch does all the interesting work: we check for shims whenever we get
asked about parameter information for methods. If there's a shim for what we
want, we ask the shim to provide the information. If not, we fail as usual.
2014-05-16 17:19:26 -04:00