Commit Graph

476 Commits

Author SHA1 Message Date
Justin Lebar
701905c8c9 Bug 893222 - Part 3: Modify the JS memory reporter to consider a string as "notable" if we have many small copies of it. r=njn 2013-08-05 16:33:00 -07:00
Ryan VanderMeulen
9e494e325a Backed out 7 changesets (bug 893222, bug 899256) for build bustage on a CLOSED TREE.
Backed out changeset 4aa234138f44 (bug 893222)
Backed out changeset 4b0bf28abdf2 (bug 899256)
Backed out changeset ea8b6ba99c05 (bug 893222)
Backed out changeset ac8220cb61d5 (bug 893222)
Backed out changeset d01358ff4b15 (bug 893222)
Backed out changeset 3baebe7cc655 (bug 893222)
Backed out changeset 4bdf8611ec57 (bug 893222)
2013-08-02 14:49:38 -04:00
Justin Lebar
4498ba1c56 Bug 893222 - Part 3: Modify the JS memory reporter to consider a string as "notable" if we have many small copies of it. 2013-08-02 10:02:40 -07:00
Jon Coppeard
61d335141c Bug 899976 - GC: Fix unsafe references related to ToInt* functions - js engine changes r=sfink 2013-08-02 13:15:38 +01:00
Ehsan Akhgari
2824b29025 Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
3b90e316be Bug 872127 - Part 1: Remove support for MOZ_CUSTOM_STDINT_H; r=Waldo,ted 2013-07-30 10:24:49 -04:00
Terrence Cole
28afcc4d1d Bug 887563 - Convert CallArgs::operator[] to return a Handle; r=Waldo,bz
--HG--
extra : rebase_source : a06130820b34f6e1f5bc317e89c087cf0db9eeb8
2013-06-26 16:26:45 -07:00
Terrence Cole
ce0b580e26 Bug 890048 - Fix rooting of the findReferences shell command; r=jimb,billm 2013-07-24 16:32:21 -07:00
Nicholas Nethercote
199d172e78 Bug 892806 - Clean up InflateUTF8String() and related functions. r=terrence.
--HG--
extra : rebase_source : df901e9900fbd01f1adbe430b9ac52428499681f
2013-07-09 23:17:32 -07:00
Nicholas Nethercote
9f8f6cd254 Bug 888088 (part 0) - Some minor #include fix-ups. r=wmccloskey.
--HG--
extra : rebase_source : edb1291d4571c2ea3bd942e2b1fcea0ab58cbe25
2013-07-23 17:34:12 -07:00
Jon Coppeard
ba4685ee98 Bug 891966 - 2 - Comment calls to Handle::fromMarkedLocation r=bz 2013-07-23 10:58:28 +01:00
Jon Coppeard
03004ec89e Bug 891966 - 1 - Don't allow construction of Handle<T> from Heap<T> r=bz 2013-07-23 10:58:27 +01:00
Jon Coppeard
e526358777 Bug 888338 - 1 - Add TenuredHeap<T> class r=terrence r=bz 2013-07-23 10:58:26 +01:00
Jeff Walden
64982b30df Bug 891177 - Implement mozilla/Vector.h, and make js/Vector.h implement js::Vector using mozilla::Vector's implementation of the functionality. r=terrence
--HG--
rename : js/public/Vector.h => mfbt/Vector.h
extra : rebase_source : d5f87a48485e3f2241228a4b003e80974c86fd5f
2013-07-09 16:33:29 -07:00
Jeff Walden
7c8d6dea3e Bug 891177 - Remove Vector.h's js/TemplateLib.h dependency by introducing mfbt/TemplateLib.h with the necessary bits. r=terrence
--HG--
extra : rebase_source : e84231171d6bd6c1e2de8201b8c9563375723d01
2013-07-08 12:42:13 -07:00
Jeff Walden
bd2a9b148b Bug 891177 - Remove Vector.h's js/Utility.h dependency. r=terrence
--HG--
extra : rebase_source : d9be649a097b3b9b92cd62685d0fadfa8c0e2bc4
2013-07-03 16:07:43 -07:00
Jeff Walden
9248a5e743 Bug 891177 - Move leading/trailing-zero-bit counting functions, ceiling/floor log2 functions, and round-up-pow2 functions into MathAlgorithms.h. r=terrence
--HG--
extra : rebase_source : 8cfbd68b8cd4a0e21185dd864c7e827ccfa6b751
2013-07-03 15:46:51 -07:00
Justin Lebar
acccca26c0 Bug 893281 - Don't require a no-args constructor for elements in a JS::Vector if you call GrowByUninitialized(). r=luke 2013-07-15 12:10:59 -07:00
Shu-yu Guo
0d4f5ea743 Bug 891946 - Rename ThreadSafeContext variables from tcx -> cx. (r=bhackett) 2013-07-10 18:25:42 -07:00
Shu-yu Guo
aca77e9d71 Bug 881593 - Part 1: Change LossyTwoByteCharsToNewLatin1CharsZ to take ThreadSafeContext. (r=billm) 2013-07-10 18:25:33 -07:00
Shu-yu Guo
638b9c7b72 Bug 881988 - Support calling natives in parallel. (r=djvj) 2013-07-10 18:25:33 -07:00
Jeff Walden
90a0f4dfea Bug 891177 - Move js::Swap to mozilla::Swap. r=terrence
--HG--
extra : rebase_source : 925bccd4fa3f95e1aa4e17d94ad5a443fc7a63aa
2013-07-03 15:57:33 -07:00
Jeff Walden
7a5c915ff2 Bug 891177 - Add ReentrancyGuard.h as a helper class for asserting that use of a class is non-reentrant. r=terrence
--HG--
extra : rebase_source : 3751e523c0b0315697cb6e005dfd8ee625f6dd58
2013-07-02 17:47:08 -07:00
Jeff Walden
5ccfb193c6 Bug 891177 - Use MOZ_STATIC_ASSERT, not JS_STATIC_ASSERT, in Vector.h. r=terrence
--HG--
extra : rebase_source : 35bf9a16df56ff308ff2761f0f088a1ca980f04a
2013-07-02 17:33:32 -07:00
Jeff Walden
0cd808f43c Bug 891177 - s/JS_ALWAYS/MOZ_ALWAYS/g and s/JS_NEVER/MOZ_NEVER/g on Vector.h. r=terrence
--HG--
extra : rebase_source : 345ebb6b5d7f7b023bcebdf1610de4f03c98cf46
2013-07-02 17:31:49 -07:00
Jeff Walden
5769d62b8d Bug 891177 - s/JS_ASSERT/MOZ_ASSERT/g on Vector.h. r=terrence
--HG--
extra : rebase_source : 9ed551860edfb8801725a3575335039c1bb07692
2013-07-02 17:29:29 -07:00
Jeff Walden
3bc19b56c2 Bug 891177 - Implement Move.h to define a move-construction interface. r=terrence
--HG--
extra : rebase_source : 45f9bb87fc0ee96ea35005ca0dcb263aa11745b8
2013-07-02 17:25:13 -07:00
Brian Hackett
aafb978437 Bug 885758 - Add ExclusiveContext for use by threads with exclusive access to their compartment, r=billm. 2013-07-10 09:29:52 -06:00
Terrence Cole
b1ea45059a Bug 888117 - Properly barrier the JSON stringifier's CycleDetection set; r=billm
--HG--
extra : rebase_source : 9cd269cf38bacfb63cbceef5dec795da2c24750c
2013-06-27 18:12:54 -07:00
Steve Fink
0fa76abb7c Bug 890076 - Move isConstructing to CallArgs, r=Waldo
--HG--
extra : rebase_source : f66e59fbd201153a4329a82264c32ad72465d654
2013-07-03 22:59:43 -07:00
Terrence Cole
9ecda8d7ad Bug 878160 - GC: post barrier weak references in the browser - part 2 browser r=terrence r=billm
--HG--
extra : rebase_source : a1856a7dce28da5086f6fbeaeda15596193aa7ad
2013-06-05 16:40:02 -07:00
Jon Coppeard
32a8cfef5d Bug 878160 - GC: post barrier weak references in the browser - part 1 JS engine r=terrence
--HG--
extra : rebase_source : 4dfd4f8f46564d3a9858646a0f68c9047c2f7e93
2013-07-02 09:43:45 +01:00
Justin Lebar
3da6ed220e Bug 820686 - Follow-up: s/MOZ_ASSUME_NOT_REACHED/MOZ_ASSUME_UNREACHABLE/. rs=waldo
I'd meant to do this, but I only got as far as the comment in mfbt.  Oops!

--HG--
extra : rebase_source : 3cfe3ef1bf401eb7d9a10fcabcfb39008e9553a4
2013-06-28 19:20:12 -07:00
Justin Lebar
3e059c7221 Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
674bdae8dc Bug 820686 - Rename MOZ_NOT_REACHED() and JS_NOT_REACHED() to MOZ_ASSUME_NOT_REACHED(). r=waldo
This includes a mechanical renaming of MOZ_NOT_REACHED to MOZ_ASSUME_NOT_REACHED in JS.  Later patches in this queue clean up whitespace errors and so on.
2013-06-28 18:38:31 -07:00
Nicholas Nethercote
385e5fa1b0 Bug 883696 (part 4) - Include full paths in #include statements in the rest of js/src/ and js/public/. r=luke. 2013-06-27 17:37:29 -07:00
Cykesiopka
fee3475339 Bug 831741 - Followup: Remove remaining __cplusplus bits from /js (with exceptions). r=jorendorff 2013-06-26 21:35:11 -04:00
Steve Fink
38ddb62f45 Bug 887362 - Fix include tangle for CheckStackRoots, r=ehoogeveen
--HG--
extra : rebase_source : 0bad13a22809afb35f924decc02b55a3e87db486
2013-06-26 11:21:36 -07:00
Terrence Cole
f05eb3a4f7 Bug 848592 - Fix some dynamic rooting analysis failures; r=sfink
--HG--
extra : rebase_source : 0d614298d3e9879a0ac5f95561329dc3a80d693b
2013-06-14 13:48:39 -07:00
Steve Fink
12acfa2b71 Bug 868302 - Enable rooting LIFO assertions in DEBUG, r=terrence 2013-05-03 13:53:15 -07:00
Catalin Iacob
d1755d1c96 Bug 798914 (part 4) - Use newly introduced mozilla::MallocSizeOf in js. r=njn.
--HG--
extra : rebase_source : d1c063b94c7ec58729150cbea602bb4c9f2a0e24
2013-06-23 13:21:01 +02:00
Terrence Cole
cd711afb30 Bug 840242 - Use the runtime page size to control arena decommit; r=luke
--HG--
extra : rebase_source : e183246d7a2f381e015e7d860336330a726cb9f8
2013-02-11 13:59:10 -08:00
Phil Ringnalda
37782d5f54 Back out 1b81a9c88872 (bug 840242) for committing infanticide in Nursery.o 2013-06-21 18:53:24 -07:00
Terrence Cole
21895c51d6 Bug 840242 - Use the runtime page size to control arena decommit; r=luke
--HG--
extra : rebase_source : 575a7485a5c6ac51f5c0cadc91616302326ce770
2013-02-11 13:59:10 -08:00
Jan de Mooij
f5b9908a45 Bug 881902 - Remove ContextStack and StackSpace. r=luke,njn 2013-06-21 08:28:06 +02:00
Jon Coppeard
4cc78f2b6c Bug 885315 - GC: Add some documentation comments for JS::Heap<T> r=sfink 2013-06-21 14:12:45 +01:00
Terrence Cole
70f401359a Backout ac48416672e7 for unexpected SM(r) failures.
Even if the there is a CLOSED TREE by the time I push.

--HG--
extra : rebase_source : b6ccfb766566415e50f1f48c6c738ed72f86babf
2013-06-20 16:17:37 -07:00
Terrence Cole
284b554ae9 Bug 848592 - Fix some dynamic rooting analysis failures; r=sfink 2013-06-14 13:48:39 -07:00
Dan Gohman
6e5e28438e Bug 885175 - DoubleHasher<double> fixes -- use a bitwise comparison to avoid considering zero and negative zero equal. r=luke 2013-06-20 11:55:41 -07:00
Bobby Holley
9762bd6b16 Bug 883450 - Assert that we're in a request whenever we create a Rooted<T>. r=terrence 2013-06-20 11:05:34 -07:00
Emanuel Hoogeveen
e0a70e1fe3 Bug 883697 (part 1) - Make include guards consistent in js/ductwork/, js/ipc/ and js/public/. r=njn.
--HG--
extra : rebase_source : 34f5559ba6e64831905686e12356b70109d873a8
2013-06-19 17:59:09 -07:00
Jon Coppeard
e2a2d38706 Bug 884283 - GC: Rename RootMethods to GCMethods r=terrence 2013-06-19 11:32:26 +01:00
Jon Coppeard
7295df4d69 Bug 877762 - GC: Post-barrier cycle collector participants - 1 Fixes and updates to JS::Heap<T> r=terrence 2013-06-18 11:00:37 +01:00
Terrence Cole
fa77ae873c No Bug - Assert that our Rooting ABI is correct; r=sfink
--HG--
extra : rebase_source : 3247d6a22f73d278ae4e6904dff28a1b727e5169
2013-06-13 15:14:44 -07:00
Bill McCloskey
ba19c64e28 Bug 880697 - Add JSRuntime constructor for Rooted. r=terrence 2013-06-12 14:17:54 -07:00
Landry Breuil
c068ab70d5 Bug 618485: Finally remove uintptr_t word payload union member on 64BE, it grows jsval_layout size and is unused. r=luke 2013-06-08 12:49:10 +02:00
Boris Zbarsky
24d0bddba5 Bug 877281 part 5. Add a set() method to Rooted. r=terrence 2013-06-07 22:45:45 -04:00
Steve Fink
f7f0db4c7c Backed out changeset 55fa2277a702 (bug 848592) for exposing pre-existing rooting hazards. Will fix the problems before relanding. The green you see is a lie. 2013-06-05 16:03:30 -07:00
Steve Fink
65cc8bf36b Bug 848592 - Mark memory accessed by dynamic rooting analysis as defined, r=njn
--HG--
extra : rebase_source : 15c4b347a2705883bffa148955b2a3c147499864
2013-03-06 15:56:35 -08:00
Terrence Cole
92c0bf02c4 Bug 879079 - Fix some exact rooting static analysis failures under js/src; r=bhackett
--HG--
extra : rebase_source : 3d5181531aef48516f1ec257b674e033a2da2aa6
2013-06-03 16:30:00 -07:00
Dan Gohman
6566491f07 Bug 875929 - Now that js_bitscan_ctz64 and js_bitscan_clz64 are implemented on all platforms, clean up some compatibility code which isn't needed anymore. r=evilpies 2013-06-05 07:39:10 -07:00
Dan Gohman
e38a539d67 Bug 875929 - Generalize the code for materializing double constants. In particular, this new code handles 0x7ff8000000000000, a common NaN. To support this, implement js_bitscan_ctz64 for 32-bit targets. r=evilpies 2013-06-04 21:39:13 -07:00
Boris Zbarsky
dca1b89519 Bug 877216. Add CallArgs-like structs for use in DOM specialized getters/setters/methods. r=waldo 2013-05-30 17:47:00 -04:00
Brian Hackett
1fdaad701e Bug 678037 - Add (disabled) ability to parse script bytecode lazily, r=luke. 2013-05-30 06:29:56 -06:00
Joshua Cranmer
f9295075bf Bug 868285 - Fix static checking builds, part 2: Add MOZ_NONHEAP_CLASS. r=ehsan
--HG--
rename : build/clang-plugin/tests/TestStackClass.cpp => build/clang-plugin/tests/TestNonHeapClass.cpp
2013-05-27 16:05:02 -05:00
Jon Coppeard
18542d913b Bug 875872 - Add public Heap<T> class for implementing post-barriers in the browser r=terrence 2013-05-27 12:51:25 +01:00
Boris Zbarsky
76ce95b003 Bug 875939. Make passing a Rooted<T> or Handle<T> to a function taking |const T&| not be a gc hazard. r=terrence 2013-05-24 22:38:09 -04:00
Eddy Bruel
6836f87c30 Bug 637572 - Implement ScriptSourceObject; r=jimb 2013-05-22 16:06:54 -07:00
Jan de Mooij
162bdc21e4 Bug 857845 part 3 - Remove JM JSAPI flags, memory reporters and browser prefs. r=djvj
--HG--
extra : rebase_source : 8b2ed85801fcd8c8fd0fc16a89b1a275add1a310
2013-05-22 14:50:45 +02:00
Steve Fink
255134ac6f Bug 872823 - implement oomAfterAllocations testing function
--HG--
extra : rebase_source : 9baca68d56f8b15e691f2154bd8aa6b6cea45845
2013-05-20 12:59:55 -07:00
Boris Zbarsky
cab8324d5a Bug 868715 part 10. Create specializations of Optional for 'any' and 'object' types so that we can have those look like Optional<Handle<Value> > and Optional<Handle<JSObject*> > respectively. r=peterv,sfink 2013-05-16 12:36:56 -04:00
Nathan Froyd
7ceff1cbc9 Bug 858131 - rewrite FloatingPoint.h to be C++-only instead of C-compatible C++; r+original-author=Waldo 2013-05-01 16:55:13 -04:00
Terrence Cole
b6490325af Bug 777548 - Make non-cc-participant tracing indirect; r=smaug,billm,jst 2013-03-28 13:37:22 -07:00
Ms2ger
a60820e813 Bug 866051 - Make CallArgs a stack class; r=Waldo 2013-05-05 09:03:16 +02:00
Martin Husemann
58847999af Bug 867911 - Add OpenBSD and NetBSD to list of sparc64 systems with 8k pages. r=terrence 2013-05-02 20:35:32 -04:00
Boris Zbarsky
2bf051349f Bug 867312. Expose some APIs for working with millisecond timestamps corresponding to JS dates. r=waldo 2013-05-01 23:44:11 -04:00
Stephen Kraemer
90ce4b84a3 Bug 836078 - Replace all gcc __GNUC__ version checks with MOZ_GCC_VERSION_AT_LEAST macro. r=dvander 2013-05-01 15:45:05 -04:00
Terrence Cole
b6975a8444 Bug 867426 - Remove the ForwardDeclare MACROs; r=jonco
--HG--
extra : rebase_source : dea4bcfa57a684e42105e087839785af2231e37d
2013-04-30 15:41:20 -07:00
Terrence Cole
8e6d671a3d Bug 867426 - Remove RawObject typedef; r=jonco
--HG--
extra : rebase_source : cf90289656cdcbc2c33e918db4d5347613ad6360
2013-04-30 15:41:12 -07:00
Terrence Cole
4b5e15caee Bug 867426 - Remove RawId typedef; r=jonco
--HG--
extra : rebase_source : c7037a278958ca4cc7467ce6ad0905f8f379c950
2013-04-30 15:41:04 -07:00
Terrence Cole
d8275d0a9b Bug 867426 - Remove RawValue typedef; r=jonco
--HG--
extra : rebase_source : f349413647882730b91ec0bd196772359ec63073
2013-04-30 15:40:56 -07:00
Terrence Cole
353919a532 Bug 867426 - Remove RawString typedef; r=jonco
--HG--
extra : rebase_source : 1cec78a4251429458c4df7fecb652e43443d7b5b
2013-04-30 15:40:48 -07:00
Terrence Cole
05bb64b19d Bug 867426 - Remove RawScript typedef; r=jonco
--HG--
extra : rebase_source : c32ce48bca7fea1dfdafbf9395835613d8a57276
2013-04-30 15:40:40 -07:00
Terrence Cole
6b5a5fb7f0 Bug 867426 - Remove RawFunction typedef; r=jonco
--HG--
extra : rebase_source : 67d89131676dfde8d70dcc4e1b4754b1243e3d85
2013-04-30 15:40:29 -07:00
Steve Fink
4c2891de74 No bug, DONTBUILD. Comment fix. 2013-04-27 12:27:53 -07:00
Jon Coppeard
60ea0f8e74 Bug 864848 - Mark Rooted<> as stack only r=terrence 2013-04-25 11:55:30 +01:00
Sean Stangl
53efaae412 Bug 618485 - Prefer word types that exist. no_r=red 2013-04-25 17:05:20 -07:00
Landry Breuil
f4c599c3b3 Bug 618485 - Add jsuword view to jsval_layout on 64-bit big-endian. r=luke 2013-04-25 16:18:03 -07:00
Nicholas Nethercote
e585d5de07 Bug 864205 - Put the baseline memory reports in a tree. r=jandem.
--HG--
extra : rebase_source : 96362bd538979832f1fbe6ec55e42fd9a71c22bd
2013-04-22 13:35:44 -07:00
Terrence Cole
249e84efe1 Bug 706885 - Implement generational GC for the SpiderMonkey interpreter; r=billm 2013-03-14 10:26:06 -07:00
Sean Stangl
dc8230838c Bug 860029 - Standardize Modelines in the JS Module. r=njn 2013-04-16 13:47:10 -07:00
Nicholas Nethercote
1c97315e22 Bug 859657 (part 2) - Remove nsIMemoryMultiReporter.explicitNonHeap because it's more trouble than it's worth; also remove the "explicit" single reporter. r=jlebar.
--HG--
extra : rebase_source : a146536a3dd0043082bcb1c26d980c4c6d4c0730
2013-04-11 20:52:32 -07:00
Phil Ringnalda
23acd61026 Back out a5a1dd3bd8ae (bug 860029) for stupidorange 2013-04-15 12:55:38 -07:00
Sean Stangl
d3d0513618 Bug 860029 - Standardize Modelines in the JS Module. r=njn 2013-04-15 11:33:03 -07:00
Jon Coppeard
60d8ffb1e9 Bug 860704 - GC: Comment says RawT converts to RootedT r=terrence
--HG--
extra : rebase_source : 2f5388adb27a97ee3762d6cab7ec0591b0f718b3
2013-04-12 09:31:43 +01:00
Phil Ringnalda
fe48637b66 Back out 5bf9771e1a28 (bug 860029) for bustage
CLOSED TREE
2013-04-11 19:55:37 -07:00
Sean Stangl
900638a687 Bug 860029 - Standardize Modelines in the JS Module. DONTBUILD. r=njn 2013-04-11 18:48:59 -07:00
Benjamin Smedberg
a6f238eacb Bug 858900 - Poison JSContext. r=luke 2013-04-11 07:48:09 -04:00
Terrence Cole
bea8a89ed8 Bug 857345 - ExposeToActiveJS should not care about GC things in the Nursery; r=billm
--HG--
extra : rebase_source : 709ce1e8e36f080d8a58b0a3b22a8955f72cf17f
2013-04-01 15:31:49 -07:00
Nils Maier
3451950a0e Bug 857690 - Introduce xpc::ZoneStatsExtras and xpc::CompartmentStatsExtras. r=njn 2013-04-04 11:55:56 -04:00
Ms2ger
97ae827742 Merge m-c to m-i. 2013-04-04 14:15:56 +02:00
Ms2ger
5d894db6f7 Bug 852602 - Pass CallArgs to Proxy call() and construct() hooks; r=Waldo 2013-04-04 09:02:24 +02:00
Jan de Mooij
833d84e579 Merge from mozilla-central. 2013-04-03 10:25:36 +02:00
Jan de Mooij
cb28e58975 Merge from mozilla-inbound. 2013-04-02 19:20:31 +02:00
Jan de Mooij
296e64a371 Merge from mozilla-central. 2013-04-01 21:48:56 +02:00
Jan de Mooij
e08e42b1df Merge from mozilla-central. 2013-03-26 20:55:40 +01:00
Nicholas Nethercote
cc8b45cc14 Bug 854763 - Add a memory reporter for asm.js array buffers. r=luke.
--HG--
extra : rebase_source : 7710041552c96677344c85849cb6a7409a95edd2
2013-03-25 20:39:28 -07:00
Jan de Mooij
f37f4f3255 Merge from mozilla-inbound.
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEConvolveMatrixElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEConvolveMatrixElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDiffuseLightingElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDiffuseLightingElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDisplacementMapElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDisplacementMapElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEOffsetElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEOffsetElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpecularLightingElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpecularLightingElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpotLightElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpotLightElement.h
2013-03-25 10:27:13 +01:00
Jan de Mooij
1cce65663c Merge from mozilla-central. 2013-03-22 10:39:40 +01:00
Jan de Mooij
88be2d0a9e Merge from mozilla-central.
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEGaussianBlurElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEGaussianBlurElement.h
2013-03-21 11:23:12 +01:00
Terrence Cole
13df67cf01 Bug 854051 - Remove HashTable::clearWithoutCallingDestructors; r=billm
--HG--
extra : rebase_source : 6ae023e1dc878f33e823d80c8cd0a91950159d94
2013-03-25 11:48:26 -07:00
Jan de Mooij
b72b9048cd Merge from mozilla-central.
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEColorMatrixElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEColorMatrixElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFECompositeElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFECompositeElement.h
2013-03-20 12:54:47 +01:00
Jan de Mooij
3bb21708c3 Merge from mozilla-central.
--HG--
rename : content/svg/content/src/SVGFEPointLightElement.cpp => content/svg/content/src/SVGFEComponentTransferElement.cpp
rename : content/svg/content/src/SVGFEPointLightElement.cpp => content/svg/content/src/SVGFEComponentTransferElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDistantLightElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDistantLightElement.h
2013-03-18 16:53:57 +01:00
Bill McCloskey
c7ddf51a4f Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
Jan de Mooij
dc6e7e0ed8 Merge from mozilla-inbound.
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEPointLightElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEPointLightElement.h
2013-03-14 10:50:28 +01:00
Jan de Mooij
d270a394b9 Merge from mozilla-central. 2013-03-08 09:57:47 +01:00
Jan de Mooij
08aea52e66 Bug 848374 - Have a single allocator per compartment for optimized stubs. r=djvj,njn 2013-03-07 11:42:24 +01:00
Jeff Walden
cbb9822c34 Bug 856850 - Implement a PodOperations.h header that includes all the Pod* functions currently in jsutil.h. r=Ms2ger 2013-04-01 22:43:19 -07:00
Jan de Mooij
dcb9aa4474 Merge from mozilla-central. 2013-03-05 11:47:34 +01:00
Jan de Mooij
9b5806bc99 Bug 846733 - Add baseline compiler memory reporters. r=djvj 2013-03-05 10:53:54 +01:00
Jeff Walden
44a575b50e Bug 843402 - Make all always-inlined methods just inline, and let the compiler choose how to optimize. r=http://perf.snarkfest.net/compare-talos/index.html?oldRevs=7ad145f9b092&newRev=6be7cad95d97&submit=true is a wash 2013-03-04 09:41:11 -08:00
Nicholas Nethercote
9c0fc60e93 Bug 851421 (part 2) - Don't emit bytecode for asm.js functions unless linking fails. r=luke.
--HG--
extra : rebase_source : cbab73e8bad5d6153cfb1cdd7599c608e78fad8a
2013-03-14 18:44:03 -07:00
Sean Stangl
8eb2a2902e Bug 850070 - Fix Vector::initCapacity() argument name: conflicts with layout code. r=red 2013-03-22 17:53:31 -07:00
Sean Stangl
8b7bb8e526 Bug 850070 - Part 2/2 - Parallelize OdinMonkey compilations. r=luke 2013-03-19 15:24:22 -07:00
Terrence Cole
7379063d39 Bug 848599 - Implement DisableGenerationalGC like DisableIncrementalGC; r=billm
--HG--
extra : rebase_source : aad333f9196a74e4579be70bd2ebf62fe16f23ed
2013-03-07 10:47:56 -08:00
Jeff Walden
5ac9bf7f63 Bug 846976 - Move CallArgs into its own header for better readability. r=jorendorff, f=bz, f=bholley 2013-02-28 20:07:23 -08:00
Terrence Cole
72134a625d Bug 765432 - Make JS_IsAboutToBeFinalized indirect; r=bholley,billm 2013-03-28 13:27:29 -07:00
Benjamin Peterson
b2eccf2f06 Bug 779233 - Count script filenames as part of script source memory. r=njn
--HG--
extra : rebase_source : f8c6e2d0867f172a68bac2242dd401db89c92236
2013-03-12 21:56:57 -05:00
Jeff Walden
0971c8596f MSVC wants a cast-to-integer-type before dividing by a bool that should promote to int. Sigh. Followup to bug 851237, r=windows-redness
--HG--
extra : rebase_source : cf4ca438261d5bdf115a21d40f1ad4164ccbeaea
2013-03-21 19:01:45 -07:00
Jeff Walden
9443788310 Bug 851237 - Replace StaticAssert uses with MOZ_STATIC_ASSERT. r=dholbert
--HG--
extra : rebase_source : d8b9715e05b959b11ee0f645141fd077b8599ab1
2013-03-21 18:26:15 -07:00
Terrence Cole
3e92ec99e1 Bug 850074 - Move SpiderMonkey stack rooting infrastructure to RootingAPI.h; r=billm
--HG--
rename : js/src/gc/Root.h => js/public/RootingAPI.h
extra : rebase_source : 52027c9c887f686a86097e5465179fa69fac9d6c
2013-03-12 14:05:57 -07:00
Nathan Froyd
27039b4cb4 Bug 853646 - part 0a - remove js::StripConst and use mozilla::RemoveConst instead; r=Waldo 2013-04-03 11:24:11 -04:00
Luke Wagner
a8e0a1a69c Bug 845458 - IonMonkey: simplify constant double handling on x86 (r=dvander) 2013-02-26 19:56:30 -05:00
Jan de Mooij
5909fc59dd Bug 844893 - Don't assert when two threads call getVMWrapper at the same time. r=luke 2013-02-26 13:49:44 +01:00
Nicholas Nethercote
4f7d3fdf51 Bug 843462 (part 1) - Make Vector::insert() less error-prone. r=luke.
--HG--
extra : rebase_source : 8cc2ba2a01d7d4970aacb7728bb2936ea473dcf5
2013-02-20 21:13:25 -08:00
Luke Wagner
177c8494f5 Bug 840282 - OdinMonkey (sr=dmandelin)
--HG--
extra : rebase_source : 4a3869dca32755abb58bbd3d9a06599e61b397f2
2013-03-15 02:29:02 -07:00
Luke Wagner
576bc99b6b Bug 852331 - immediately GC the Zone after JS::Evaluate on a very large script (r=bhackett)
--HG--
extra : rebase_source : f64efadd1f324b5bfa3574aab1a434b22724fa16
2013-03-18 17:37:24 -07:00
Jon Coppeard
525e02647c Bug 848754 - GC: Remove relaxed root checking infrastructure r=terrence
--HG--
extra : rebase_source : 7f781b1c7edbae14ce9b2fd4d45c44e8cb5c2968
2013-03-08 08:54:59 +00:00
Jon Coppeard
3dcda9b143 Bug 849273 - Investigate splitting the js and JS namespaces r=terrence
--HG--
extra : rebase_source : 2b131d0177f02e5f0e89398545481fcacbfde00f
2013-03-19 10:35:41 +00:00
Nicholas Nethercote
7c5cfecf23 Bug 850523 (part 1) - Add a "js-main-runtime-temporary-peak" memory reporter (2nd attempt). r=wmccloskey,jlebar.
--HG--
extra : rebase_source : d90dcad2ed990b6e276ff38c36170b815ae9b823
2013-03-06 20:40:36 -08:00
Jeff Walden
793d063229 Bug 835542 - Add an IntegralConstant helper to TypeTraits.h, and use it where the spec says we should be using it. r=bjacob
--HG--
extra : rebase_source : a1272a85489771ce1cbe5c3aaa678b5b04b49226
2012-12-16 18:20:17 -05:00
Terrence Cole
99a89c1a40 Backed out changeset 3af927a8260c for suspected bustage on a CLOSED TREE
--HG--
extra : rebase_source : 4f69820605dd64ef6e89604749ad643138605fbe
2013-03-27 16:01:00 -07:00
Terrence Cole
dac8ccdb05 Bug 852802 - Add incremental needsBarrier to the runtime and check it first; r=billm
--HG--
rename : content/svg/content/src/SVGFETurbulenceElement.h => content/svg/content/src/nsSVGFilters.cpp
extra : rebase_source : d30970922e139e6d1a87bbdf53f27b4e67313b08
2013-03-19 17:59:42 -07:00
Terrence Cole
31eb81e6ea Bug 852802 - Add incremental needsBarrier to the runtime and check it first; r=billm
--HG--
extra : rebase_source : b5af1fbd8f587e152e115f9c74222f195d0d97b5
2013-03-19 17:59:42 -07:00
Ryan VanderMeulen
8309d57c2c Backed out changeset 6b6a4d28e510 (bug 852802) for bustage on a CLOSED TREE. 2013-04-01 12:34:57 -04:00
Terrence Cole
a131fc918f Bug 852802 - Add incremental needsBarrier to the runtime and check it first; r=billm 2013-03-19 17:59:42 -07:00
Phil Ringnalda
dfb8bff6a5 Back out e0038e628250 and 02b242697afb (bug 850523) for test_memoryReporters.xul crashes
CLOSED TREE
2013-03-17 22:15:25 -07:00
Nicholas Nethercote
b381a3dc72 Bug 850523 (part 1) - Add a "js-main-runtime-temporary-peak" memory reporter. r=wmccloskey,jlebar.
--HG--
extra : rebase_source : d183213c48b9d07fb62fce830998bcb8bb044f47
2013-03-06 20:40:36 -08:00
Chuck Lee
b4d7ba2694 Bug 835719 - 0001. Support encode string to UTF-8 byte array. r=terrence 2013-02-22 10:58:52 +08:00
Jonathan Kew
9c8145baf7 backout cset 4ede352670cd (bug 759585) on a CLOSED TREE on suspicion of making windows reftests so slow that they timeout and burn 2013-02-22 09:36:41 +00:00