Paul Biggar
d4f71dfd35
Bug 684336: Extract CallObject into its own object (r=luke)
2011-09-08 10:53:43 -07:00
Terrence Cole
8dfb9edbc9
Bug: 685041 - convert #ifdef DEBUG vars in jsgc.cpp to DebugOnly; r=luke
...
This adds operation++ and operator-- to DebugOnly in support of the two uses
cleaned up here.
2011-09-07 11:32:35 -07:00
Igor Bukanov
375f661a51
bug 684569 - remove support for custom chunk allocation. r=nnethercote
...
--HG--
rename : js/src/jsapi-tests/testGCChunkAlloc.cpp => js/src/jsapi-tests/testGCOutOfMemory.cpp
2011-07-31 20:50:42 +02:00
Jason Orendorff
53eb0f605c
Fix the JS standalone build. r=amazing_brokenness.
2011-09-03 07:30:13 -05:00
Ed Morley
2d385ce59f
Backout bug 684110 (08b6eaf6aad0, cf8b35fa1010, 25ee45edabe1, 659f5c7d2cc9, 870f6dd82586 & e1ad65d6a7fd) and bug 684344 (cd1957f6628d) on a CLOSED TREE; a=bustage-fairies
2011-09-03 03:21:25 +01:00
Terrence Cole
1ec766c60b
Bug 684344 - Remove a reinterpret_cast in delayMarkingChildren; r=billm
...
All of the types we call this with derive from js::gc::Cell, so there is no
need for this to take a void*.
--HG--
extra : rebase_source : 206c2ef1ae304a0c7f6346f38cfb00bd4eab5a43
2011-09-02 17:58:10 -07:00
Igor Bukanov
3b06c78f95
bug 681884 - faster slow path of GC allocations. r=wmccloskey
2011-08-18 09:16:08 +02:00
Igor Bukanov
c89518270e
bug 683862 - Using JSGCTraceKind in the public API. r=luke
2011-09-01 20:43:46 +02:00
Igor Bukanov
cc337ac79c
bug 674251 - making JSScript a GC-thing. r=jorendorff,bhackett1024
2011-08-09 10:51:59 +02:00
Ed Morley
974a0ec8a8
Merge last green (and non Ts-regressing) changeset from m-i to m-c
2011-08-30 12:09:51 +01:00
Brian Hackett
8e19ba6201
[INFER] Encapsulate GC arena/cell iteration, bug 679887.
2011-08-26 12:39:31 -07:00
Brian Hackett
045638a1ea
Merge MC -> JM
2011-08-26 11:23:35 -07:00
Brian Hackett
7f4dcc90fb
[INFER] Use mark stack for type objects, bug 679887.
2011-08-26 09:50:48 -07:00
Rafael Ávila de Espíndola
4e8e49aac3
Bug 673017 - Fix use of uninitialized data. r=wmccloskey.
...
The chunk's bitmap was being cleared at the first GC cycle, but it could be
read before that. Clear it early to fix that.
--HG--
extra : rebase_source : 09b1fb28e8e03ca6798f767426e4b423eb716d4d
2011-08-29 13:56:58 -04:00
Brian Hackett
45b8a69877
Merge MC -> JM
2011-08-21 16:00:26 -07:00
Jim Blandy
3abd972834
Bug 673125: Provide stack-allocated vectors of JSObject pointers. r=luke.
2011-08-23 14:45:21 -05:00
Marco Bonardo
5f0e2fc98d
Backout changeset e6d269bc23b9 (bug 674251) to investigate Tdhtml regression on Mac.
2011-08-18 10:18:08 +02:00
Brian Hackett
f3b5be7a42
[INFER] Allocate typeset data and properties from arenas, occasionally purge observed types in compartments, bug 679329.
2011-08-17 06:48:14 -07:00
Brian Hackett
06268c9f02
Merge MC -> JM
2011-08-14 19:51:16 -07:00
Brian Hackett
4c611afd71
Merge MC -> JM
2011-08-12 07:20:08 -07:00
Brian Hackett
9b769204de
Merge MC -> JM
2011-08-09 13:29:11 -07:00
Jason Orendorff
fbb0edbd8d
Merge jsdbg2 to mozilla-inbound. See bug 672829.
2011-08-13 13:29:18 -05:00
Jason Orendorff
d0dae6067c
Merge from mozilla-central to jsdbg2.
2011-08-12 18:18:59 -05:00
Phil Ringnalda
d3b432509b
Back out c8f38fb18c6a (bug 673631) for breaking the Shark shell build
2011-08-12 19:24:22 -07:00
Jason Orendorff
9bca815475
Address review comments from billm (bug 672829 comment 65).
2011-08-11 00:58:28 -05:00
Jason Orendorff
59fd77e00c
Trivial cleanups: do not export vm/Debugger.h; rename Debugger::mark to markAllIteratively, delete a stray space. No bug number, rs=jimb.
2011-08-10 12:57:30 -05:00
Jason Orendorff
6666d9cd42
Merge from mozilla-central to jsdbg2.
2011-08-09 10:21:12 -05:00
Igor Bukanov
96c71ac382
bug 665354 - page-independent free span. r=wmccloskey
2011-08-05 18:43:59 +02:00
Brian Hackett
6c3284f1e8
Merge MC -> JM.
...
--HG--
rename : dom/src/threads/Makefile.in => dom/workers/Makefile.in
rename : dom/src/threads/test/Makefile.in => dom/workers/test/Makefile.in
rename : dom/src/threads/test/WorkerTest.jsm => dom/workers/test/WorkerTest.jsm
rename : dom/src/threads/test/atob_worker.js => dom/workers/test/atob_worker.js
rename : dom/src/threads/test/chromeWorker_subworker.js => dom/workers/test/chromeWorker_subworker.js
rename : dom/src/threads/test/chromeWorker_worker.js => dom/workers/test/chromeWorker_worker.js
rename : dom/src/threads/test/closeOnGC_worker.js => dom/workers/test/closeOnGC_worker.js
rename : dom/src/threads/test/importScripts_worker.js => dom/workers/test/importScripts_worker.js
rename : dom/src/threads/test/importScripts_worker_imported1.js => dom/workers/test/importScripts_worker_imported1.js
rename : dom/src/threads/test/importScripts_worker_imported2.js => dom/workers/test/importScripts_worker_imported2.js
rename : dom/src/threads/test/json_worker.js => dom/workers/test/json_worker.js
rename : dom/src/threads/test/recursion_worker.js => dom/workers/test/recursion_worker.js
rename : dom/src/threads/test/relativeLoad_sub_worker.js => dom/workers/test/relativeLoad_sub_worker.js
rename : dom/src/threads/test/relativeLoad_worker.js => dom/workers/test/relativeLoad_worker.js
rename : dom/src/threads/test/simpleThread_worker.js => dom/workers/test/simpleThread_worker.js
rename : dom/src/threads/test/terminate_worker.js => dom/workers/test/terminate_worker.js
rename : dom/src/threads/test/test_404.html => dom/workers/test/test_404.html
rename : dom/src/threads/test/test_chromeWorker.html => dom/workers/test/test_chromeWorker.html
rename : dom/src/threads/test/test_chromeWorker.xul => dom/workers/test/test_chromeWorker.xul
rename : dom/src/threads/test/test_chromeWorkerJSM.xul => dom/workers/test/test_chromeWorkerJSM.xul
rename : dom/src/threads/test/test_close.html => dom/workers/test/test_close.html
rename : dom/src/threads/test/test_closeOnGC.html => dom/workers/test/test_closeOnGC.html
rename : dom/src/threads/test/test_errorPropagation.html => dom/workers/test/test_errorPropagation.html
rename : dom/src/threads/test/test_fibonacci.html => dom/workers/test/test_fibonacci.html
rename : dom/src/threads/test/test_importScripts.html => dom/workers/test/test_importScripts.html
rename : dom/src/threads/test/test_json.html => dom/workers/test/test_json.html
rename : dom/src/threads/test/test_longThread.html => dom/workers/test/test_longThread.html
rename : dom/src/threads/test/test_navigator.html => dom/workers/test/test_navigator.html
rename : dom/src/threads/test/test_recursion.html => dom/workers/test/test_recursion.html
rename : dom/src/threads/test/test_relativeLoad.html => dom/workers/test/test_relativeLoad.html
rename : dom/src/threads/test/test_simpleThread.html => dom/workers/test/test_simpleThread.html
rename : dom/src/threads/test/test_suspend.html => dom/workers/test/test_suspend.html
rename : dom/src/threads/test/test_terminate.html => dom/workers/test/test_terminate.html
rename : dom/src/threads/test/test_threadErrors.html => dom/workers/test/test_threadErrors.html
rename : dom/src/threads/test/test_threadTimeouts.html => dom/workers/test/test_threadTimeouts.html
rename : dom/src/threads/test/test_throwingOnerror.html => dom/workers/test/test_throwingOnerror.html
rename : dom/src/threads/test/test_xhr.html => dom/workers/test/test_xhr.html
rename : dom/src/threads/test/test_xhrAbort.html => dom/workers/test/test_xhrAbort.html
rename : dom/src/threads/test/threadTimeouts_worker.js => dom/workers/test/threadTimeouts_worker.js
rename : dom/src/threads/test/xhr_worker.js => dom/workers/test/xhr_worker.js
2011-07-28 18:10:31 -07:00
Jason Orendorff
c4f527861a
Merge from mozilla-central to jsdbg2.
2011-07-28 13:45:51 -05:00
Jason Orendorff
75a71f51e8
Merge from mozilla-central to jsdbg2 branch.
2011-07-27 18:23:16 -05:00
Jason Orendorff
722572a323
Rename jsdbg.{h,cpp} to vm/Debugger.{h,cpp}. This addresses a review comment from brendan in bug 627829 comment 42.
...
--HG--
rename : js/src/jsdbg.cpp => js/src/vm/Debugger.cpp
rename : js/src/jsdbg.h => js/src/vm/Debugger.h
2011-07-27 18:03:34 -05:00
Steve Fink
1ec520583b
Bug 673631 - Clean up probes and register (almost) all profiler control entry points in JS_DefineProfilingFunctions (r=luke,waldo,jst)
...
Previously, JS_DefineProfilingFunctions only defined a very basic set of
functions (startProfiling and stopProfiling), and various scattered places
added more specific ones (start/stop vtune, dumpProfile, etc.) This patch makes
jsdbgapi do all of it, so that all users get the same set.
Also rename JS_DumpProfile -> JS_DumpBytecode to avoid name conflict. The
bytecode dumps are how the counters ("profiles") are displayed, so the
DumpProfile name was bogus anyway.
--HG--
extra : rebase_source : 0e5ae9748cd497b9a0d2f51527799c4092f51fd0
2011-07-26 15:56:09 -07:00
Igor Bukanov
907a4b7654
bug 673795 - part2, using lists of avaiulable chunks for faster chunk selection. r=wmccloskey
...
--HG--
extra : rebase_source : ae4f5a82bc4042e341fdb5c08e3f0fe4b4ae8935
2011-07-26 09:55:23 +02:00
Igor Bukanov
d6d80f5a73
bug 673795 - part1, no empty chunk hashing. r=anygregor
...
--HG--
extra : rebase_source : 5700156556287ae6e72b78640451c5ceb1013df4
2011-07-25 13:04:02 +02:00
Brian Hackett
dda30fa4b2
Merge MC -> JM
2011-07-21 18:53:37 -07:00
Brian Hackett
6cedc75bac
[INFER] Make TypeObject a GC thing, remove lazily created type objects on GC, bug 669969.
2011-07-21 07:28:01 -07:00
Jason Orendorff
f8465f2924
Bug 637985 - Reimplement watchpoints using a JSObject bit. r=jimb.
2011-07-27 17:44:43 -05:00
Bill McCloskey
e41d5f10b1
Bug 671113 - Poison JSScripts when freed to get more crash data (r=dmandelin)
2011-07-19 14:21:58 -07:00
Jason Orendorff
671bbf0bb1
Merge mozilla-central to jsdbg2.
2011-07-18 10:58:56 -05:00
Brian Hackett
89a7a7eac5
Merge MC -> JM
2011-07-15 14:40:15 -07:00
Nicholas Nethercote
df63e69bd3
Bug 671482 - Use the trusted principal to identify the system principal. r=luke.
2011-07-15 09:52:51 +10:00
Nicholas Nethercote
bc2ec1e581
Bug 671482 - Rename some identifiers to improve clarity. r=anygregor.
2011-07-15 09:31:52 +10:00
Bill McCloskey
fd629a392b
Bug 661903 - Move script filename table to compartment (r=igor)
2011-07-14 16:02:12 -07:00
Jason Orendorff
f5ce61ea3c
Merge from mozilla-central to jsdbg2.
2011-07-12 10:47:31 -05:00
Jason Orendorff
b25a91e697
Merge from tracemonkey to jsdbg2.
2011-07-11 08:53:27 -05:00
Brian Hackett
fd156b6340
Revert to 6840fbf4dcdd
2011-07-08 17:58:10 -07:00
Luke Wagner
b747d1721b
Bug 670059 - Add some JS engine telemetry counters to measure occurrences of: E4X, __iterator__, mutable __proto__ (r=taras,waldo)
2011-07-07 15:40:33 -07:00
Luke Wagner
673fa49bf2
Backout a22fad398472 and 373e6bd2705d because of burnage
2011-08-04 15:54:14 -07:00
Luke Wagner
59e742e724
Bug 670059 - Add some JS engine telemetry counters to measure occurrences of: E4X, __iterator__, mutable __proto__ (r=taras,waldo)
...
--HG--
extra : rebase_source : f77f2ad5521bf4543b518f7f6cc40a3778b7a74a
2011-07-07 15:40:33 -07:00