Commit Graph

734 Commits

Author SHA1 Message Date
Luke Wagner
8d6c125463 Bug 689362 - Remove empty jsstaticcheck.h (r=billm)
--HG--
extra : rebase_source : d37d29af2a4f6b8c4f9a18468e57285ea8098824
2011-10-12 10:28:56 -07:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
bd8d321b37 Bug 639469 - Use mozilla::ArrayLength and mozilla::ArrayEnd in preference to JS_ARRAY_LENGTH whenever possible. r=cjones 2011-10-10 23:00:28 -07:00
Bill McCloskey
f4bb9d2c4b Bug 677411 - Replace JS GC statistics gathering (r=cdleary) 2011-08-23 17:35:09 -07:00
Luke Wagner
c7d3e6785c Bug 689362 - Create js/public (with the intention that its contents will eventually be the only INSTALLED_HEADERS), move Vector and HashTable to js/public and some dependencies (r=billm,sr=dmandelin)
--HG--
rename : js/src/jshashtable.h => js/public/HashTable.h
rename : js/src/jsvector.h => js/public/Vector.h
rename : js/src/mfbt/InlineMap.h => js/src/ds/InlineMap.h
extra : rebase_source : 818639b74653667b7a572bc1234398c0e4559a60
2011-10-04 15:33:00 -07:00
Bill McCloskey
075030270d Bug 692884 - Manage GC's black/gray color transitions from JS, not xpconnect (r=mccr8) 2011-10-10 10:25:46 -07:00
Igor Bukanov
8bd0141404 bug 688641 - followup to address nits. r=wmccloskey 2011-10-06 19:57:10 +02:00
Igor Bukanov
deeeb6ce6d bug 688641 - allocating GC chunks using helper thread. r=wmccloskey 2011-09-23 16:14:26 +02:00
Bill McCloskey
a207bd0e0f Bug 684947 - Fix red 2011-10-05 15:09:23 -07:00
Bill McCloskey
5b182e4458 Bug 684947 - Fix bogus compartment assertion caused by generators (r=luke) 2011-10-05 14:51:51 -07:00
Rafael Ávila de Espíndola
3e524a04f6 Bug 689269 - Don't read memory from other compartments in gc. r=wmccloskey. 2011-09-27 15:44:26 -04:00
Bill McCloskey
e5701ded7e Bug 677431 - Clean up MarkAndSweep code in GC (r=igor) 2011-08-05 10:25:51 -07:00
Luke Wagner
61f76ef0bd Bug 684526 - Remove Jsvalify/Valueify (r=waldo)
--HG--
extra : rebase_source : a3047338ed088c26a93486addd0be8092fe52934
2011-09-20 11:40:24 -07:00
Igor Bukanov
c8a5985ea4 bug 684527 - making sure that we never try to allocate from the GC. r=wmccloskey 2011-09-12 11:44:27 +02:00
Bill McCloskey
f3698e14b3 Bug 675806 - Make static strings be GC things (r=luke) 2011-09-20 14:47:14 -07:00
Andrew McCreight
fc9615e7fa Bug 681104 - Add JSTracer flag to disable visiting WeakMap mappings. r=billm 2011-09-04 11:25:49 -07:00
Igor Bukanov
ee75e05a9b Bug 686144 - eliminating gc::MarkingDelay. r=wmccloskey 2011-09-12 11:43:43 +02:00
Ed Morley
3b89aa779a Backout latest JM merge for OSX 10.5 M-oth permaorange (see bug 687257) on a CLOSED TREE 2011-09-17 16:32:43 +01:00
Brian Hackett
cb6667a21f Merge MC->JM 2011-09-12 12:42:13 -07:00
Brian Hackett
d3435e89d8 [INFER] Always maintain a synced interpreter stack for method JIT stub calls, bug 685358. 2011-09-09 21:55:57 +02:00
Andrew McCreight
b8c7ff03db Bug 685593 - Remove unused argument from Debugger::markAllIteratively. r=jorendorff 2011-09-08 10:34:47 -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