Commit Graph

349 Commits

Author SHA1 Message Date
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