Terrence Cole
1716ba8f56
Bug 885954 - Add comments to barrier classes explaining our use of C++ move semantics; r=jimb
2014-02-07 10:03:21 -08:00
Jon Coppeard
fe4db66203
Bug 961091 - Add fewer store buffer entries when describing the stack r=terrence
2014-02-07 11:21:12 +00:00
Bobby Holley
8bf2c8aa3b
Bug 959013 - Create storage for declarative class bootstrapping information on js::Class. r=luke
2014-02-04 07:51:54 -08:00
Nicholas Nethercote
8ad98d5f7b
Bug 964238 (part 1) - Remove JSStableString and StableTwoByteChars. r=terrence.
...
--HG--
extra : rebase_source : 1859ce0b42661494fa13628551359a5a5d5663c0
2014-01-30 14:58:53 -08:00
Terrence Cole
6faab639f2
Bug 966040 - Simplify and minimize the allocation path for non-objects; r=jonco
2014-01-31 11:43:43 -08:00
Kyle Huey
d21c9ac055
Bug 961286 - Use move semantics for JSAutoStructuredCloneBuffer and wrappers. r=jorendorff, r=bent
2014-01-31 21:50:07 -05:00
Shu-yu Guo
40089fb9be
Bug 966181 - Rename ForkJoinSlice to ForkJoinContext. (r=pnkfelix)
2014-01-31 14:57:57 -08:00
Eric Faust
31541d75aa
Bug 924720 - Part 1: Implement IsProxy() using new JSClass flag. (r=jwalden)
2014-01-29 17:20:15 -08:00
Eric Faust
5790c2c1cd
Bug 924720 - Part 0: Free up spare JSClass flags. (r=jwalden)
2014-01-29 17:20:15 -08:00
Chris Peterson
ac4837ccb1
Bug 964016 - Part 4: Replace JS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE. r=luke
2014-01-24 20:14:56 -08:00
Chris Peterson
1b2b307e88
Bug 964016 - Part 2: Replace JS_UNLIKELY with MOZ_UNLIKELY. r=luke
2014-01-24 19:57:58 -08:00
Bobby Holley
048f4eae8c
Bug 957688 - Kill off checkAccess. r=mrbkap
2014-01-24 16:08:26 -08:00
Terrence Cole
dc3a39595c
Bug 963232 - Add extensive documentation to js/GCAPI.h; r=billm
2014-01-23 11:47:11 -08:00
Nicholas Nethercote
0b05b51057
Bug 961883 (part 3) - Measure and report the Nursery. r=terrence.
...
--HG--
extra : rebase_source : 6f12d47ca8cedc96b0dd0477ca4f71de08e47181
2014-01-21 17:17:08 -08:00
Nicholas Nethercote
04907c0a12
Bug 961883 (part 2) - Measure and report the StoreBuffer. r=terrence.
...
--HG--
extra : rebase_source : f298f0373b7fee99eee7a62060f882d628f97eb2
2014-01-21 17:17:02 -08:00
Nicholas Nethercote
5de1ab52da
Bug 961883 (part 1) - Measure and report the SourceDataCache. r=benjamin.
...
--HG--
extra : rebase_source : b599e19fb681e972b1f6e184c44f5a726a61009f
2014-01-20 19:52:57 -08:00
Nicholas Nethercote
b60b20f34b
Bug 961883 (part 0) - Some tiny HashTable comment tweaks. r=luke.
...
--HG--
extra : rebase_source : 749b61ec992335aa5e2be63340e88b04ff236967
2014-01-20 19:52:52 -08:00
Jeff Walden
cd1afc6984
Bug 948227 - Add code to warn when the __proto__ setter is called that it's very slow and shouldn't be used. (Don't use it yet, tho, because it requires the second part of bug 948583 to land first. Once that lands, fully enabling this just requires some uncommenting.) r=efaust
...
--HG--
extra : rebase_source : 87d320edcc99b6ef7df98c2470c78d4085aa4f99
2013-12-11 16:04:07 -08:00
Jon Coppeard
904faa3371
Bug 961077 - Take marking function as template parameter in PersistentRootedMarker r=sfink
2014-01-23 09:53:42 +00:00
Steve Fink
9f72871624
Bug 960342 - Add a RootedGeneric general class, r=terrence
2014-01-22 11:52:44 -08:00
Jon Coppeard
eddc75fd8f
Bug 961077 - Make PersistentRooted use private inheritance when deriving from LinkedListElement r=sfink
2014-01-22 11:28:06 +00:00
Ms2ger
7b4adf5c0f
Bug 937952 - Replace JS_ROTATE_LEFT32 with mozilla::RotateLeft; r=Waldo
2014-01-20 08:58:26 +01:00
Terrence Cole
be1579cec3
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 5; r=jonco
...
--HG--
extra : rebase_source : 13c96b6118408cfb001a3191871cbf7ce4d8a2c3
2014-01-17 10:09:38 -08:00
Jon Coppeard
5437959382
Bug 960544 - Always export rooting APIs and stop linking unit tests against JS library r=glandium
2014-01-17 10:18:19 +00:00
Terrence Cole
f7e4661151
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 1; r=sfink,Ms2ger
...
--HG--
extra : rebase_source : 0e0e75028f12db9cc4cf612a9205525669b70267
2014-01-14 12:41:22 -08:00
Nicolas B. Pierron
539c077dff
Bug 958471 - Assert range of Object/String Values' payload. r=jandem
2014-01-16 03:06:31 -08:00
Jon Coppeard
1c4835c7fd
Bug 959683 - Use rooting typedefs consistently in our public API r=sfink
2014-01-15 10:31:00 +00:00
Boris Zbarsky
72e2ce7440
Bug 932837 part 2. Create a refcounted object to manage the lifetime of a JS::StackDescription. r=mccr8, terrence
2014-01-07 19:53:17 -05:00
Boris Zbarsky
a989ae183c
Bug 932837 part 1. Make FrameDescription compute the line number lazily. r=jandem
2014-01-07 19:53:17 -05:00
Jeff Walden
c95b19ffa3
Bug 956601 - Add Char16.h to RequiredDefines.h so that SpiderMonkey standalone works again, in compilers without native char16_t support. r=sstangl
...
--HG--
extra : rebase_source : 7a36d31e37e0336b9ccfe765d9c98353f6e56aa0
2014-01-05 18:05:11 -06:00
Jeff Walden
5d3f01c937
Bug 953296 - Implement mozilla::NullptrT as a typedef to use to accept nullptr values. Also add mozilla::IsNullPointer<T>, a trait for detecting *only* true nullptr (emulated nullptr [__null] used by gcc 4.4/4.5 isn't true nullptr). r=ehsan
...
Generally, if you want a decltype(nullptr)-based overload, you should use SFINAE and IsNullPointer. (Examples are provided in NullPtr.h comments.) The problem is NullptrT matches far more than just __null as emulated nullptr for gcc 4.4/4.5 overloading purposes. This problem is unavoidable without true nullptr. Currently, the only valid use for NullptrT is believed to be in operator overloads. All existing nullptr-overloading code has been rewritten to use the appropriate technique for the situation, and MOZ_HAVE_CXX11_NULLPTR is no longer an API.
--HG--
extra : rebase_source : 01abfcb66ae569db7b04a7b53f5cd5fd8151bffd
2014-01-02 17:27:41 -06:00
Luke Wagner
2e804616e4
Bug 924905 - Do a subsumes check inside the stack iterator. r=jandem
...
--HG--
extra : rebase_source : ff8407c4f79fd3e2264470379470c526a751e45f
2014-01-03 10:32:56 -06:00
Jan de Mooij
a45b34226f
Bug 955838 - Remove JSScript::enclosingScriptsCompiledSuccessfully() and some unused friend API functions. r=bhackett
2014-01-03 11:19:50 +01:00
Ivan Jibaja
311063f1a7
Bug 946042 - Add all SIMD functions to the interpreter. r=till
2013-12-18 16:28:32 -05:00
Jeff Walden
bb7f1ca7da
Inherit RangedPtr's operator= in all of SpiderMonkey's *CharsZ classes, so that assignment of the correct raw pointer to each will compile. No bug, r=terrence over IRC
2013-12-19 13:56:24 -05:00
Jan de Mooij
d695c46e05
Bug 951666 - Rename IonCode to JitCode. r=njn
2013-12-18 23:01:51 +01:00
Wes Kocher
51be634cd2
Backed out changeset ef0eeaec74a8 (bug 949183) on the theory that it somehow broke every single b2g test on a CLOSED TREE
2013-12-16 18:27:43 -08:00
Sean Stangl
59305924cb
Bug 949183 - Fix jsid static constructor explosion. r=Waldo
2013-12-16 14:40:05 -08:00
Brian Hackett
0909f112c0
Bug 932982 - Trace type constraints and allow preserving jitcode in GCs without also marking all type information, r=billm, r=jandem
2013-12-12 13:10:54 -08:00
Andy Wingo
7da22095a0
Bug 927782 - Part 10: Iterate block chain from compile-time block scope maps, not runtime blockChain. r=luke
2013-12-06 18:42:08 +01:00
Terrence Cole
790a58b7dd
Bug 945250 - Evict the nursery before using CellIter; r=jonco
2013-12-04 15:23:30 -08:00
Wes Kocher
d3b2deb0a9
Backed out changeset 2a1e0a4f8d72 (bug 932982) for b2g m2 orange on a CLOSED TREE
2013-12-12 16:38:32 -08:00
Brian Hackett
5990fb7b8b
Bug 932982 - Trace type constraints and allow preserving jitcode in GCs without also marking all type information, r=billm,jandem.
2013-12-12 13:10:54 -08:00
Sean Stangl
dcde6d6dea
Bug 949195 - Don't refer to IsInRequest() when JS_DEBUG is not defined. r=efaust
2013-12-11 14:06:04 -08:00
Ryan VanderMeulen
55cc6f5900
Backed out changeset a29d7f5ddde6 (bug 932982) for ggc asserts.
2013-12-12 13:56:32 -05:00
Brian Hackett
5e3b1f18b3
Bug 932982 - Trace type constraints and allow preserving jitcode in GCs without also marking all type information, r=billm,jandem.
2013-12-12 08:42:24 -08:00
Terrence Cole
2839167636
Bug 948516 - Assert that js::HashTable pointers and enumerators are used correctly; r=luke
2013-12-03 12:51:02 -08:00
Ryan VanderMeulen
e5cb270b74
Backed out changeset b93e7a83b308 (bug 932982) for Linux mochitest-bc leaks.
...
CLOSED TREE
2013-12-11 17:07:48 -05:00
Brian Hackett
32734ed66b
Bug 932982 - Trace type constraints and allow preserving jitcode in GCs without also marking all type information, r=billm,jandem.
2013-12-11 10:12:33 -08:00
Sean Stangl
e4de4469c3
Bug 948638 - Always use jsid struct types. r=Waldo
2013-12-10 15:45:41 -08:00
Terrence Cole
b303ecda68
Backout changeset 70e76314c8a7 for build bustage on a CLOSED TREE.
...
--HG--
extra : rebase_source : 83e1e8a5a4802ef0b7b1d6f7dc0df6595bc9f00f
2013-12-10 15:26:05 -08:00
Terrence Cole
8013e4fe9b
Bug 948516 - Assert that js::HashTable pointers and enumerators are used correctly; r=luke
2013-12-03 12:51:02 -08:00
Tom Schuster
9052b9f509
Bug 697343 - Introduce a slice hook to allow optimizing Array.prototype.slice for Proxies etc. r=jandem,bz
2013-12-05 20:07:24 +01:00
Tom Schuster
11675716d5
Bug 697343 - Remove getElementIfPresent. r=Waldo
2013-12-05 20:07:24 +01:00
Sean Stangl
33cecd91b2
Bug 939505 - Use JS_DEBUG in public headers. r=jorendorff
2013-12-06 15:03:08 -08:00
Jon Coppeard
0b13b21c71
Bug 939993 - Add assert that hash key is still valid in HashTable::relookupOrAdd r=sfink
2013-12-07 12:50:52 +00:00
Joshua Cranmer
b4eac639be
Bug 929200, part 2: Add MOZ_HEAP_ALLOCATOR to JSContext::new_, r=jimb.
...
--HG--
extra : rebase_source : 94273fe87e4e432a493dd55a89a005a89e7bb998
2013-12-06 21:21:54 -06:00
Nicholas D. Matsakis
209c17a9b2
Bug 933760 - Track a type object for each type representation, associate with the type descriptor r=bhackett
2013-11-01 11:10:47 -04:00
Ryan VanderMeulen
db4e60059b
Backed out 12 changesets (bug 927782) for SM rootanalysis orange.
...
Backed out changeset f86d2d4cfadf (bug 927782)
Backed out changeset 51d6617835d1 (bug 927782)
Backed out changeset eed9795fa80e (bug 927782)
Backed out changeset b971de7edfff (bug 927782)
Backed out changeset 5f086f95b305 (bug 927782)
Backed out changeset 8c74b1f68590 (bug 927782)
Backed out changeset f1237f11edcd (bug 927782)
Backed out changeset d6946bd743b3 (bug 927782)
Backed out changeset cbdd50c96b85 (bug 927782)
Backed out changeset fc7a979712fc (bug 927782)
Backed out changeset c8304ccf88e9 (bug 927782)
Backed out changeset 9d99e9ca7b32 (bug 927782)
2013-12-06 15:03:19 -05:00
Andy Wingo
0835b83e34
Bug 927782 - Part 10: Iterate block chain from compile-time block scope maps, not runtime blockChain. r=luke
2013-12-06 18:42:08 +01:00
Ryan VanderMeulen
5c07e15985
Backed out changesets 22770b30545b, 0809370fabdb, 4ef4764c1b55, and bfe768b87464 (bug 697343) due to Gaia UI test bustage.
...
CLOSED TREE
2013-12-05 16:19:47 -05:00
Tom Schuster
50c0f8f4e6
Bug 697343 - Introduce a slice hook to allow optimizing Array.prototype.slice for Proxies etc. r=jandem,bz
2013-12-05 20:07:24 +01:00
Tom Schuster
922370489e
Bug 697343 - Remove getElementIfPresent. r=Waldo
2013-12-05 20:07:24 +01:00
Nicholas Nethercote
665c913cc0
Bug 943744 (part 3) - Re-use the |strings| table from the zone with the most strings when computing totals. r=till.
...
--HG--
extra : rebase_source : 3fa7b4249526ffcfbadd108aa55e7e9e5f0c8ebf
2013-12-04 03:54:54 -08:00
Nicholas Nethercote
c2c4132e4f
Bug 943744 (part 2) - Represent the sizes in StringInfo more compactly. r=till.
...
--HG--
extra : rebase_source : 799693bac2beb4609daf55fc5e8cbe19adff3ed8
2013-12-02 21:40:25 -08:00
Nicholas Nethercote
929454ee8d
Bug 943744 (part 1) - Remove StringInfo::length. r=till.
...
--HG--
extra : rebase_source : 4ac0be283e35bd878ad4410b805548255fcd8cee
2013-12-02 21:40:25 -08:00
Jeff Walden
a51194c4dc
Bug 940033 - js::HashMapEntry::{key,value} fields should be private, with accessors, and the former should expose a const reference. r=jimb
...
--HG--
extra : rebase_source : 439d194ed15bf87e9643c9c09d4512ff7f616fcc
2013-11-25 17:35:09 -08:00
Jeff Walden
fd8d240cfd
Bug 937751 - Followup to compile with clang versions that treat |struct S; struct __attribute__((visibility("default"))) S {};| as an error. rs=mccr8
...
--HG--
extra : rebase_source : 97d6faaaa484a9544d2683c4a1af5c3e044fa2d3
2013-12-03 15:53:40 -08:00
Andrew McCreight
b33d8d0c09
Bug 937751, part 2 - Move SliceBudget into js/public. r=billm
2013-12-03 10:47:47 -08:00
Jeff Walden
d272298ed4
Bug 943839 - Simplify Anchor and get rid of JS_AnchorPtr. r=terrence
...
--HG--
extra : rebase_source : f2d9e039f758b6078c57f601537effe8c7c39f82
2013-12-02 15:43:30 -08:00
Andrew McCreight
7bea5a32f1
Bug 944491 - Add null-checking assert to GetGCThingRuntime. r=jonco
2013-11-29 12:44:00 -08:00
Trevor Saunders
36e24ccdae
bug 938025 - part 2 - fix some static constructors in the jseng r=waldo
2013-11-22 15:05:04 -05:00
Carsten "Tomcat" Book
13099086fa
Backed out changeset 042ab55b8476 (bug 939993) for Spidermonkey rootanalysis orange on a CLOSED TREE
2013-11-25 15:04:35 +01:00
Jon Coppeard
af4f430fcb
Bug 939993 - Check that AddPtrs are used only with matching Lookup values r=sfink
2013-11-25 11:26:10 +00:00
Jim Chen
0b958846fc
Bug 935092 - Const-ify profiler pseudostack entries; r=BenWa
2013-11-22 14:17:30 -05:00
Ryan VanderMeulen
0b04f14b61
Backed out changeset 1469f9e856c0 (bug 939993) for SM rootanalysis crashes.
...
CLOSED TREE
2013-11-21 09:44:27 -05:00
Jon Coppeard
5fe8c751ed
Bug 939993 - Check that AddPtrs are used only with matching Lookup values r=sfink
2013-11-19 22:53:32 +00:00
Shu-yu Guo
b7a4c97e80
Bug 933882 - Invalidate JIT code instead of doing full GC on debug mode toggle. (r=bhackett)
2013-11-20 22:50:28 -08:00
Jon Coppeard
e8f47db8f4
Bug 935136 - Remove the now unnecessary UnbarrieredMutableValueOperations r=terrence
2013-11-19 22:53:36 +00:00
Ed Morley
8291c4ed9e
Backed out changeset 1b720320ccf4 (bug 939993) for rootanalysis assertions on a CLOSED TREE
2013-11-20 16:38:41 +00:00
Ed Morley
bc86ea8de4
Backed out changeset b75c703f2e7e (bug 935136)
2013-11-20 16:38:13 +00:00
Jon Coppeard
c9dde06da3
Bug 935136 - Remove the now unnecessary UnbarrieredMutableValueOperations r=terrence
2013-11-19 22:53:36 +00:00
Jon Coppeard
ea691b049e
Bug 939993 - Check that AddPtrs are used only with matching Lookup values r=sfink
2013-11-19 22:53:32 +00:00
Jim Blandy
cb3eece0fc
Bug 937404 - Remove the unused NotableStringInfo copy constructor. r=jimb
...
--HG--
extra : rebase_source : 9af09cb34a2bda3b1cbee61c85617a25c5876106
2013-11-18 13:48:45 -08:00
Jim Blandy
a448351084
Bug 896100: Convert all uses of OldMove and MoveRef to true rvalue references and the modern Move and Forward. r=luke, r=waldo
2013-11-19 09:05:36 -08:00
Jon Coppeard
5bdcd42d7f
Bug 938211 - Supply copy assignment operator for Heap<T> and fix up some other classes in RootingAPI.h r=sfink
2013-11-18 17:21:44 +00:00
Michael Shuen
222e044320
Bug 937916 - Implement TrueValue() and FalseValue(). r=sfink
2013-11-15 21:46:39 -05:00
Jon Coppeard
ea373eaf34
Bug 935136 - Always barrier assignments to Heap<Value> r=terrence
2013-11-12 11:21:01 +00:00
Wes Kocher
d034f915c0
Backed out 7 changesets (bug 935228, bug 936143, bug 935470, bug 933882, bug 934799) for breaking ASAN browser-chrome tests on a CLOSED TREE
...
Backed out changeset ae6f2151610f (bug 934799)
Backed out changeset 82495f0c5da2 (bug 934799)
Backed out changeset 77be849d81e7 (bug 935228)
Backed out changeset 555e5759fe5f (bug 935470)
Backed out changeset ce4011f33422 (bug 933882)
Backed out changeset e13e98eab890 (bug 936143)
Backed out changeset fb230c191a88 (bug 936143)
2013-11-11 16:53:59 -08:00
Terrence Cole
ff9029bd4e
Bug 935800 - Assert that we do not GC in the lifetime of a ForkJoinSlice; r=shu
...
--HG--
extra : rebase_source : ec2dc1db758e5bef4720b5442e006e9df44c165b
2013-11-06 15:43:19 -08:00
Shu-yu Guo
c75805a35a
Bug 933882 - Invalidate JIT code instead of doing full GC on debug mode toggle. (r=bhackett)
2013-11-11 14:18:34 -08:00
Jeff Walden
1ace537923
Bug 934718 - Simplify some of the alpha computations in HashTable.h by converting alpha fractions to numerator/denominator ratios of integers, and convert associated JS_STATIC_ASSERT to static_assert. r=luke
...
--HG--
extra : rebase_source : a35631c885ad7058739d9e99498714f318ef589c
2013-10-24 17:11:32 +01:00
Jeff Walden
3e47e0b069
Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust
...
--HG--
extra : rebase_source : 58dc71e7e58208a2cfa12b265adca7b189e5e5bd
2013-10-29 16:39:09 -07:00
Nicholas Nethercote
d103ebf82f
Bug 634417 - Remove inappropriate uses of vanilla malloc/calloc/realloc/free/strdup from SpiderMonkey. r=luke.
...
--HG--
extra : rebase_source : 4470cdf58a482eb05f94cd00a9800d8e6a0d2252
2013-11-08 09:52:14 +11:00
Ryan VanderMeulen
70d3f7a789
Backed out changeset 471db633b20c (bug 903332) for B2G desktop mochitest-1 failures.
2013-11-07 16:10:21 -05:00
Jeff Walden
407d6806e9
Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust
...
--HG--
extra : rebase_source : b5bae3832b7718b579abb7c09f36c9c46907d7cc
2013-10-29 16:39:09 -07:00
Jeff Walden
588a269dc8
Bug 921561 - Make JS_DECLARE_NEW_METHODS use C++11 "perfect" forwarding (which isn't, because it won't let you pass an expression that's a bit field #nowyouknow), to eliminate issues arising when non-const references are used in these methods with classes that don't copy nicely, or shouldn't be copied for perf reasons. r=luke
...
--HG--
extra : rebase_source : d2b446e0ee6e5613faa962b92acc9f91584fe7ac
2013-09-27 11:19:43 -07:00
Terrence Cole
2bd8f8f148
Bug 931912 - Suppress an exact rooting hazard false positive in nsWindowSH::Finalize; r=sfink
...
--HG--
extra : rebase_source : 3934e7cd7e21e37de20aadac203db6a285021691
2013-11-05 15:02:35 -08:00
Andrew McCreight
5f3b6da481
Bug 905382, part 1 - Implement a read barrier for GC things. r=jonco
2013-11-04 15:01:38 -08:00
Andrew McCreight
787a11c334
Bug 934990 - Export CurrentThreadCanAccess functions properly. r=terrence
2013-11-05 08:55:28 -08:00
Jim Blandy
e2f0547581
Bug 892643: Implement PersistentRooted<T>, an unrestricted-lifetime rooting type. r=terrence, jcoppeard
2013-11-04 13:35:08 -08:00
Nicholas Nethercote
4d733f7122
Bug 932440 - Re-fix a compiler warning in memorymetrics that was fixed in bug 924608 but was then undone by a bad manual merge. r=me.
...
--HG--
extra : rebase_source : 370eacd5a6f0d0015e0b685ea66a4c47df248a34
2013-10-29 20:15:09 -07:00
Jon Coppeard
fba2cabd21
Bug 931446 - Improve documentation comment on JS::Heap r=terrence
2013-11-01 10:20:50 +00:00
Terrence Cole
79b934e930
Bug 932364 - Fix an exact rooting hazard around AddSizeOfTab; r=njn
...
--HG--
extra : rebase_source : cb0ab85f7f850ce3c250dd75ff32a416dba7b153
2013-10-28 10:14:06 -07:00
Nicholas Nethercote
3b80765894
Bug 925584 - Remove some unnecessary jsapi.h inclusions from .cpp files. r=Ms2ger.
...
--HG--
extra : rebase_source : 41fcb0e922a519ef679c1c1b6293c2b638e83a48
2013-10-10 15:22:35 -07:00
Terrence Cole
856c484ab5
Bug 929800 - Handlify the structured clone interface; r=sfink,smaug
...
--HG--
extra : rebase_source : 4f21dd799ad27dc665997d4912996a500ae8a2f2
2013-10-22 17:18:32 -07:00
André Bargull
0f042d57f9
Bug 928508 - Change String.prototype.@@iterator to iterate over code points. r=jorendorff.
2013-10-23 11:42:25 -05:00
Nicholas Nethercote
dac7e13e71
Bug 918207 - Support per-tab memory profiling. r=billm,mccr8,till,smaug,nfroyd.
...
--HG--
extra : rebase_source : 7603eaedbd761c6b231b1b911f719388864755e6
2013-10-22 14:53:26 -07:00
Steve Fink
63e2453e93
Bug 861925 - Steal and neuter ArrayBuffers at end of structured clone, r=jorendorff
...
--HG--
extra : rebase_source : 3378a06b47e7ee2f45da841b3604077b4c2b64e6
2013-10-15 23:48:20 -07:00
Masatoshi Kimura
81b2d9fcc3
Bug 928220 - Get rid of JS_INLINE
2013-10-22 06:34:24 +09:00
Jim Blandy
53a9ab4dc3
Bug 928507: Properly hide JS::Handle's assignment operator; add 'repoint' method to deal with the fallout; fix C1Spewer, IonSpewer, and CompileOptions. r=terrence
2013-10-21 12:56:44 -07:00
Jan de Mooij
6cecaaf71d
Bug 859892 - Rename JS_CANONICALIZE_NAN to JS::CanonicalizeNaN. r=Waldo
2013-10-17 10:16:17 +02:00
Ehsan Akhgari
b7d148db05
Bug 895047 - Make char16_t available everywhere and use that to define PRUnichar and jschar; r=jcranmer,jorendorff,glandium
2013-10-17 00:36:13 -04:00
Phil Ringnalda
b808ef7069
Back out ee100983f921 (bug 895047) for build bustage
...
CLOSED TREE
2013-10-16 21:51:55 -07:00
Ehsan Akhgari
5582e7b472
Bug 895047 - Make char16_t available everywhere and use that to define PRUnichar and jschar; r=jcranmer,jorendorff,glandium
2013-10-17 00:36:13 -04:00
Nathan Froyd
6be5da9d86
Bug 925879 - use JS_BITS_PER_WORD instead of JS_BYTES_PER_WORD in HashTable.h; r=njn
2013-10-15 10:11:03 -04:00
Nathan Froyd
2255a3c89f
Bug 925807 - define JS_BITS_PER_WORD in terms of JS_64BIT; r=njn
2013-10-11 15:11:48 -04:00
Nicholas D. Matsakis
dd1cb5d0bf
Bug 914220 - Move TypedObject global names into a TypedObject module r=waldo
2013-09-09 11:52:11 -04:00
Wes Kocher
1a01f63e42
Backed out 5 changesets (bug 861925) so I can backout bug 900669 cleanly
...
Backed out changeset 8febf2f0e35d (bug 861925)
Backed out changeset e646195f32ae (bug 861925)
Backed out changeset 015a92e94c07 (bug 861925)
Backed out changeset 4546406915c1 (bug 861925)
Backed out changeset 63321a464309 (bug 861925)
2013-10-15 18:51:50 -07:00
Steve Fink
034ea78515
Bug 861925 - Steal and neuter ArrayBuffers at end of structured clone, r=jorendorff
...
--HG--
extra : rebase_source : 90ef9de8673dc50e81810a8cdcc86c8a8dbbc7bb
2013-10-15 17:26:19 -07:00
Jason Orendorff
807f7ead19
Bug 923836 - Set aside the first 3 reserved slots of global objects for application use. r=Waldo.
...
--HG--
extra : rebase_source : 027d8ed582b276845ff49c19b867d82b058542e1
2013-10-14 15:24:11 -05:00
Jon Coppeard
f4625d3a2f
Bug 925817 - GenerationalGC: Refactor inside nursery check to avoid repetition r=terrence
2013-10-14 10:16:25 +01:00
Wes Kocher
e6ca9fe89a
Backed out changeset e807ddf2965f (bug 688852) for test bustage
2013-10-11 18:07:40 -07:00
Terrence Cole
9352d36b34
Bug 688852 - Rewrite Array.prototype.concat to use spec steps; r=Waldo
...
--HG--
extra : rebase_source : b82607aabd4f959e7c204073a440225c6a12da6c
2013-01-03 17:34:34 -08:00
Terrence Cole
cec4468cbd
Bug 924608 - Fix a compiler warning in memorymetrics; r=njn
2013-10-08 14:15:59 -07:00
Shu-yu Guo
8175bc3b2a
Bug 921325 - Return bool from PJS VM functions and use the fatal bit on ForkJoinSlice to signal fatal vs retry. (r=nmatsakis)
2013-10-10 20:02:32 -07:00
Nathan Froyd
763ff26d42
Bug 924391 - don't use JS_BITS_PER_WORD in HeapAPI.h; r=billm
2013-10-08 09:54:33 -04:00
Shu-yu Guo
c67b8a81d2
Bug 903193 - Part 4: Add ability to do read only lookup on the Shape tree. (r=bhackett)
2013-10-08 15:14:03 -07:00
Douglas Crosher
c5c8a5b58e
Bug 923328 - Ionmonkey: fix float32 hash function. r=terrence
2013-10-03 10:11:18 +10:00
Nicholas Nethercote
c84ee4400e
Bug 921954 - Clean up type inference memory reporting. r=bhackett.
...
--HG--
extra : rebase_source : a3c640921882a997017b1cddca189f5b3217a88e
2013-09-30 16:20:33 -07:00
Terrence Cole
50dcb5f560
Bug 609896 - Optimize copy and initialization of DenseElements; r=billm
...
--HG--
extra : rebase_source : a0cf2605a7f1277352ff9163379632992c56d09a
2013-09-25 15:19:08 -07:00
Jan de Mooij
d3c054db17
Bug 915763 - Remove TypeScript::dynamicList and dynamic Monitor functions. r=bhackett
2013-09-28 11:45:21 +02:00
Nicholas Nethercote
e1e53cbb13
Bug 920852 (part 4) - Reorder a bunch of stuff. r=till.
...
--HG--
extra : rebase_source : b386abc4bfcdc85fad4071eeb06de2ca83a17bd8
2013-09-25 20:17:19 -07:00
Nicholas Nethercote
613a6069b0
Bug 920852 (part 3) - Tweak various things about RuntimeStats. r=till.
...
--HG--
extra : rebase_source : 0748417364e0b8be25846f573d93fc657b228d19
2013-09-24 23:24:29 -07:00
Nicholas Nethercote
b3921aae3c
Bug 920852 (part 2) - Rename fields of ZoneStatsPod and StringInfo to match memory reporter paths. r=till.
...
--HG--
extra : rebase_source : d67dc7deedee6213f640ca2ae31a959b66d8d64e
2013-09-24 23:24:28 -07:00
Nicholas Nethercote
f6633c8d76
Bug 920852 (part 1) - Rename fields of ObjectsExtraSizes and CompartmentStats to match memory reporter paths. r=till.
...
--HG--
extra : rebase_source : 0f55dd20e69d3410d0cb811529f53570f588cc5e
2013-09-24 23:24:28 -07:00
Ehsan Akhgari
b063781f78
Bug 921130 - Minimize the #includes in js/src/jit; r=luke
2013-09-26 18:34:54 -04:00
Nicholas Nethercote
d4316443e1
Bug 919889 (part 5) - Use macros to eliminate repetitive, error-prone code in MemoryMetrics.{h,cpp}. r=luke.
2013-09-24 23:24:28 -07:00
Nicholas Nethercote
ddc0d5782b
Bug 919889 (part 4) - Assorted minor clean-ups. r=luke.
2013-09-24 23:24:28 -07:00
Nicholas Nethercote
57e83b0455
Bug 919889 (part 3) - Move the private_ field out of ObjectsExtraSizes. r=luke.
2013-09-24 23:24:28 -07:00
Dan Gohman
37b7da75e9
Bug 916580 - Fix bugs related to the usage of calloc. r=luke
2013-09-25 12:18:43 -07:00
Jon Coppeard
a9d324a316
Bug 912567 - Split HashMap/HashSet::rekey() into rekey() and rekeyIfMoved() r=terrence
2013-09-24 10:03:32 +01:00
Ehsan Akhgari
ef1d626e26
Bug 915735 - Part 1: Work around a bug in the MSVC PGO instrumented builds which prevents xpcshell to run successfully as a host tool during builds; r=sfink
...
--HG--
extra : rebase_source : e9b3bfc9cae14d0a699f584ccbda80157b065bc0
2013-09-23 15:28:08 -04:00
Dan Gohman
dfbc494859
Bug 918350 - SpiderMonkey: Remove js_NaN in favor of a new mozilla::GenericNaN() function. r=waldo
2013-09-19 18:42:56 -07:00
Terrence Cole
a3990e4631
Bug 918118 - Delete MutableHandle constructors for int and nullptr; r=jonco
...
This should prevent accidently misuse of MutableHandle.
--HG--
extra : rebase_source : 836a46068770281de24b6a11a04352b49c1dd05d
2013-08-06 15:09:15 -07:00
Birunthan Mohanathas
578826a89e
Bug 784739 - Switch from NULL to nullptr in js/ductwork/, js/ipc/, and js/public/; r=ehsan
2013-09-19 15:24:53 -04:00
Steve Fink
016400d5a3
Bug 916986 - Implement a JSAutoAssertNoGC for the analysis to pay attention to, r=terrence
2013-09-17 10:50:03 -07:00
Bill McCloskey
7a4e1969f2
Bug 905926 - Move rambo GC to runtime destruction. r=jonco
2013-09-17 09:46:32 -07:00
Bobby Holley
a2da8aae46
Bug 905926 - Remove watchpoints on all compartments during shutdown, not just the cx compartment. r=billm
2013-09-17 09:46:32 -07:00
Brian Hackett
602e976657
Bug 915473 - Distinguish stack type sets from compiler-created temporary type sets, r=jandem.
2013-09-12 18:30:03 -06:00
Nicholas Nethercote
05a8238e35
Bug 915482 (part 1) - Move most of gc/Barrier-inl.h into gc/Barrier.h. r=terrence.
...
--HG--
extra : rebase_source : e3fbf54420858cd5ae5328f4cf5c5001d1d0ccb9
2013-09-11 16:51:17 -07:00
Dan Gohman
a50084b38d
Bug 910823 - Constify static js::Class/JSClass instances. r=waldo
2013-09-11 05:49:05 -07:00
Benjamin Bouvier
4cafb7489b
Bug 888109: Float32 general optimizations for IonMonkey: framework and arithmetic operations; r=sstangl,nbp
2013-07-18 15:13:15 -07:00
Nicholas Nethercote
6af0765bfc
Bug 910771 (part 2) - Move some stuff from JS::Zone to JS::shadow::Zone, and from JSRuntime to JS::shadow::Runtime.h. r=terrence.
2013-09-04 19:19:04 -07:00
Nicholas Nethercote
48268c5407
Bug 910771 (part 1) - Create js/Tracer.h and gc/Tracer.cpp. r=terrence.
2013-09-02 22:01:18 -07:00
Kyle Huey
888aba875b
Bug 910937: Remove xpc_UnmarkGrayObject and use JSAPI directly. r=mccr8
2013-09-08 20:28:48 -07:00
Phil Ringnalda
68dbeb01e7
Back out a615811b12e4 (bug 888109) for not actually building
2013-09-06 18:48:56 -07:00
Benjamin Bouvier
ab4de2a416
Bug 888109: Float32 general optimizations for IonMonkey: framework and arithmetic operations; r=sstangl,nbp
2013-07-18 15:13:15 -07:00
Jason Orendorff
badbd7be37
Bug 893186, part 5 - Delete JS_GetPropertyAttributes and many similar APIs; remove half a dozen methods from JS::Class. r=Waldo.
...
--HG--
extra : rebase_source : 1f4a01938b06b66ef855f9b654f098b4819b1390
2013-09-06 12:05:30 -05:00
Phil Ringnalda
1b590ddf5d
Back out b817abcebadf (bug 888109) for unexpected assertions
2013-09-05 21:01:05 -07:00
Benjamin Bouvier
25c2cca59d
Bug 888109: Float32 general optimizations for IonMonkey: framework and arithmetic operations; r=sstangl,nbp
2013-07-18 15:13:15 -07:00
Nicholas Nethercote
8129026433
Bug 912411 (part 2) - Move JSID_{VOID,EMPTY}HANDLE from jsapi.{h,cpp} to Id.{h,cpp}. r=luke.
...
--HG--
extra : rebase_source : 5fb68bf5079e3261fdca6cb99717d3a502c878f3
2013-09-05 16:08:57 -07:00
Jeff Walden
de9ce95170
Bug 730805 - Provide mozilla/IntegerPrintfMacros.h to implement the PRI* macros portion of the <inttypes.h> interface. r=espindola
...
--HG--
extra : rebase_source : be80333003c6fec659e736a77463568c836d8348
2011-12-15 00:27:42 -05:00
Nicholas Nethercote
01c70c8c97
Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
...
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Justin Lebar
66f7416cab
Bug 909977 - Rename mozilla::Move to mozilla::OldMove, and make mozilla::Move a synonym for std::move(). r=waldo
...
--HG--
extra : rebase_source : 7b3bb02cc8cbc0ad6721c6c3895564d9567b8ddb
2013-08-29 11:54:14 -07:00
Jon Coppeard
f330426b3d
Bug 906387 - Rehash hash tables if necessary when rekeying during minor GC r=terrence
2013-08-29 10:27:50 +01:00
Nicholas Nethercote
a5561248a4
Bug 909623 (part 4) - Create js/CallNonGenericMethod.h and vm/CallNonGenericMethod.cpp. r=luke.
...
--HG--
extra : rebase_source : 5a81a57ea81227c995d7fd0933c226ac10384991
2013-08-26 21:39:38 -07:00
Nicholas Nethercote
3c5b0c6b29
Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
...
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07:00
Jon Coppeard
52c1bd6bdc
Bug 726687 - Stop rekeying from calling pre barriers r=terrence
2013-02-15 17:59:19 +00:00
Nicholas Nethercote
0df65930a1
Bug 909178 (part 2) - Make jsclass.h not depend on jsapi.h, and rename it js/Class.h. r=jwalden.
...
--HG--
rename : js/src/jsclass.h => js/public/Class.h
extra : rebase_source : 31ecd4074181c234f7f71eef04a10ae371c35eaa
2013-08-21 22:26:57 -07:00
Nicholas Nethercote
219bcb46a2
Bug 909178 (part 1) - Move |jsid| from jsapi.h into js/Id.h. r=luke.
...
--HG--
extra : rebase_source : b0d38093a9f40a532e73c2c30ae86b8970b814ac
2013-08-21 22:26:56 -07:00
Luke Wagner
4d6428397a
Bug 908255 - tidy up 'non-destructive' functions, give StringHashPolicy a scarier name (r=terrence)
...
--HG--
extra : rebase_source : 84bbc6c0416190a9dae8c758262def530a591219
2013-08-22 13:54:34 -05:00
Nicholas Nethercote
789875a768
Bug 905017 (part 3, attempt 2) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
...
--HG--
extra : rebase_source : 8226a31c4f2a286ba843da616b1061ca034a5d41
2013-08-19 23:45:26 -07:00
Nicholas Nethercote
36ec1052f2
Bug 905017 (part 2, attempt 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
...
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : 2699588c63ef58ab84bc8c63adc0487648af3834
2013-08-19 23:43:47 -07:00
Ms2ger
8040c0cadd
Backout changesets 7e6fb33fdf22:c85332df4320 (bug 905017) for windows bustage.
2013-08-22 10:16:30 +02:00
Nicholas Nethercote
5c94c32440
Bug 905017 (part 3) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
...
--HG--
extra : rebase_source : 8322f1c96b95685912375484172d47f53107947f
2013-08-19 23:45:26 -07:00
Nicholas Nethercote
b62bcfa0e3
Bug 905017 (part 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
...
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : ecce9699ddb45535aa94d5e3add901f5a8620c46
2013-08-19 23:43:47 -07:00
Nicholas Nethercote
2585de9a07
Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
...
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Jon Coppeard
d54dda2c97
Bug 903548 - GC: What do we do for UnmarkGray on a Nursery GCThing? r=billm
2013-08-19 14:48:35 +01:00
Luke Wagner
be7de2efa2
Bug 902506 - OdinMonkey: fix/enhance asm.js memory reporting (r=njn)
...
--HG--
extra : rebase_source : eafb0f56e7ed851e2e62a2ba908e63ea273c1c77
2013-08-08 21:38:42 -05:00
Ehsan Akhgari
a79ecbd978
Backed out changeset 9cdd168a8518 (bug 904108) because it includes an unreliable Clang marketing version check
2013-08-16 11:53:46 -04:00
Nicholas Nethercote
74c7654541
Bug 898274 (part 1) - Fix ordering of various #include statements. r=benjamin.
2013-08-13 15:34:12 -07:00
Ms2ger
9d023a67df
Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo
2013-08-14 09:00:52 +02:00
Brian Hackett
ca2162becd
Bug 902095 - Allow accessing the compartment/zone for ExclusiveContext, r=billm.
2013-08-13 09:13:46 -06:00
Adam Roach [:abr]
ac53292a64
Bug 904108 - Add explicit assignment operator to js::Value r=luke
2013-08-12 12:01:23 -05:00
Daniel Holbert
ff9cd906fa
Backed out changeset fde265c467b2 (Bug 902095) for SM(r) bustage
2013-08-12 13:40:15 -07:00
Brian Hackett
263edd531e
Bug 902095 - Allow accessing the compartment/zone for ExclusiveContext, r=billm.
2013-08-12 13:57:02 -06:00
Nicholas Nethercote
6b214e6801
Bug 902917 - Remove some unnecessary #includes in SpiderMonkey. r=till.
...
--HG--
extra : rebase_source : 2a767e04768a94eb943370bbe7945a8dc409bf1d
2013-08-08 16:07:22 -07:00
Nathan Froyd
b0ca59e796
Bug 899309 - modify JS::Value and some helper functions to be constexpr-foldable; r=luke
2013-07-29 16:59:34 -04:00
Nicholas Nethercote
d8f824e34e
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
e7fe914e75
Bug 902820 - Fix a bunch of compile warnings in SpiderMonkey. r=till.
...
--HG--
extra : rebase_source : 0306d26443640104bae575a60fec7a693f7b43c5
2013-08-08 06:33:49 -07:00
Nicholas Nethercote
8ce53f9ffd
Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
...
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Nicholas Nethercote
9624be5713
Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
...
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
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