115 Commits

Author SHA1 Message Date
igor%mir2.org
71fa6dd59a bug 476934 - JS_(Set|Clear)ContextThread() must wait for the GC, backport to 1.9.0 by Jason Orendorff, a1.9.0.10=samuel.sidler
git-svn-id: svn://10.0.0.236/trunk@256998 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-21 13:01:45 +00:00
igor%mir2.org
85940179ec backing out for bug 478336, bug 477021 and bug 476934 due to compilation failure on Windows in bug 476934
git-svn-id: svn://10.0.0.236/trunk@256968 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-18 09:07:05 +00:00
igor%mir2.org
1252c41410 bug 476934 - JS_(Set|Clear)ContextThread() must wait for the GC, backport to 1.9.0 by Jason Orendorff, a1.9.0.10=dveditz
git-svn-id: svn://10.0.0.236/trunk@256965 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-18 08:15:57 +00:00
igor%mir2.org
2357239d6b [Bug 423874] Allocating functions together with JSObject. r=brendan a1.9=blocking1.9
git-svn-id: svn://10.0.0.236/trunk@248998 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-02 07:46:13 +00:00
igor%mir2.org
088bbf6cb0 [bug 423874] backing out as a simpler patch would do the job with less code.
git-svn-id: svn://10.0.0.236/trunk@248816 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-29 10:34:31 +00:00
igor%mir2.org
99df75fa8a bug=423874 r=brendan a1.9b5=dsicore
Allocating native functions together with JSObject


git-svn-id: svn://10.0.0.236/trunk@248353 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-21 08:19:27 +00:00
igor%mir2.org
ffd22acc3a bug=422432 r=brenda,jag a1.9=blocking1.9
The local free lists for doubles now restricted to 32/64 entries, not 8, to minimize locking penaltties.


git-svn-id: svn://10.0.0.236/trunk@247766 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 20:07:29 +00:00
igor%mir2.org
22af3421c7 bug=419632 r=brendan a1.9=blockin1.9
avoiding weak roots for doubles


git-svn-id: svn://10.0.0.236/trunk@247492 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-10 19:27:44 +00:00
brendan%mozilla.org
4ab50af46f Optimize object initialisers via property cache; remove JSOP_SET{NAME,PROP} cache hazards (129496, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@246600 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 01:59:37 +00:00
igor%mir2.org
879fd5b65d bug=400902 r,a1.9=brendan
Specialized GC arena for double values


git-svn-id: svn://10.0.0.236/trunk@246564 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 21:01:42 +00:00
jag%tty.nl
690231ad8d Backing out bug 400902. Something's still screwy :-(
git-svn-id: svn://10.0.0.236/trunk@246416 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-24 16:46:20 +00:00
igor%mir2.org
1bd64847e2 Bug 400902: specialized arena for doubles
git-svn-id: svn://10.0.0.236/trunk@246415 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-24 14:14:45 +00:00
brendan%mozilla.org
5ea4994939 Return of the property cache (365851, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@245186 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 23:18:45 +00:00
igor%mir2.org
64ab256f8a Bug 400902: Backing out due to test failures.
git-svn-id: svn://10.0.0.236/trunk@244836 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-04 03:41:31 +00:00
igor%mir2.org
c2ea141d7c Bug 400902: specialized arena for fast allocation of double values.r,a=brendan ab3=mtschrep
git-svn-id: svn://10.0.0.236/trunk@244835 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-04 02:37:22 +00:00
igor%mir2.org
f623f52c64 Bug 400902: backing out due to test failures.
git-svn-id: svn://10.0.0.236/trunk@244669 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-01 19:59:59 +00:00
igor%mir2.org
b0e8fbaeb9 Bug 400902: using a specialized GC arena for doubles. r,a=brendan a1.9b3=mtschrep
git-svn-id: svn://10.0.0.236/trunk@244668 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-01 18:39:24 +00:00
brendan%mozilla.org
4f19e9c6fe Try to fix Ts regression (414452, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@244519 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-30 08:25:52 +00:00
brendan%mozilla.org
9b8a9af723 Move serialized cycle detector for __proto__ and __parent__ into js_GC (414452, r=igor+shaver).
git-svn-id: svn://10.0.0.236/trunk@244502 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-30 06:29:49 +00:00
igor%mir2.org
06a36664ad Bug 413744: JS_GCMETER requires to recompile just js/src, not the whole browser. r,a=brendan
git-svn-id: svn://10.0.0.236/trunk@244395 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 22:17:25 +00:00
brendan%mozilla.org
212836a4b0 Revert last checkin (414452).
git-svn-id: svn://10.0.0.236/trunk@244325 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 08:45:14 +00:00
brendan%mozilla.org
05e5a6f4c5 Move guts of js_SetProtoOrParent to jsgc.c, unifying serialization and deadlock avoidance machinery (414452, r=igor).
git-svn-id: svn://10.0.0.236/trunk@244313 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 07:18:21 +00:00
igor%mir2.org
517af6b580 Bug 364776: New operation counter API to replace branch callback. r,a=brendan
git-svn-id: svn://10.0.0.236/trunk@242291 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-03 09:28:40 +00:00
jruderman%hmc.edu
ac3ce7194f Backing out igor's fixes for bug 409109 and bug 364776 in an attempt to fix Tinderbox tgfx failures that are keeping talos red
git-svn-id: svn://10.0.0.236/trunk@242098 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-26 19:19:18 +00:00
igor%mir2.org
d4d9688dca Bug 364776: new operation callback API to replace branch callback. a,r=brendan
git-svn-id: svn://10.0.0.236/trunk@242083 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-25 10:12:26 +00:00
reed%reedloden.com
5630e4dcb7 relanding bug 400687 since it doesn't look to be the source of the Ts regression
git-svn-id: svn://10.0.0.236/trunk@239415 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-15 04:16:36 +00:00
gavin%gavinsharp.com
96fa8ddceb Back out the patch for bug 400687 to see whether it caused the Ts regression, a=sicking
git-svn-id: svn://10.0.0.236/trunk@239402 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-15 00:17:28 +00:00
igor%mir2.org
c6969e661d Bug 400687: removal of dependency of xpconnect on internal JS GC thing types. r,a=brendan
git-svn-id: svn://10.0.0.236/trunk@239357 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 21:23:07 +00:00
igor%mir2.org
869ee88eaa Bug 396758: the system flag is moved from GC flags to JSObject itself. r=brendan
git-svn-id: svn://10.0.0.236/trunk@237010 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 19:11:41 +00:00
igor%mir2.org
63871008a9 Bug 396758: taking the patch out as it broke the test cases.
git-svn-id: svn://10.0.0.236/trunk@236666 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-25 17:30:55 +00:00
igor%mir2.org
d7f23f12d3 Bug 396758: the system flag is moved from GC flags to JSObject itself. r=brendan
git-svn-id: svn://10.0.0.236/trunk@236664 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-25 17:08:41 +00:00
igor%mir2.org
e2926c0e02 Bug 333236: merge sweep and free phases in GC. r=brendan
git-svn-id: svn://10.0.0.236/trunk@236323 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-19 22:04:47 +00:00
igor%mir2.org
230369cb84 Bug 396049: the last ditch GC gcPoke checks are moved to js_NewGCThing. r=brendan
git-svn-id: svn://10.0.0.236/trunk@236198 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 07:22:07 +00:00
igor%mir2.org
21544a31bd Bug 392263: using mmap/VirtualAlloc for GC arenas. r=brendan
git-svn-id: svn://10.0.0.236/trunk@236056 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-16 13:03:17 +00:00
igor%mir2.org
105b2c6de1 Bug 392263: taking out the patch due to bug 396299.
git-svn-id: svn://10.0.0.236/trunk@236055 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-16 12:02:56 +00:00
igor%mir2.org
81f5a5bb6f Bug 392263: using mmap/VirualAlloc for GC arenas. r=brendan
git-svn-id: svn://10.0.0.236/trunk@236038 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-15 17:19:32 +00:00
igor%mir2.org
563c0e2e53 Bug 392263: taking out the patch due to Mac build problems.
git-svn-id: svn://10.0.0.236/trunk@236031 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-15 15:26:30 +00:00
igor%mir2.org
af63c70b07 Bug 392263: using mmap/VirualAlloc for GC arenas. r=brendan
git-svn-id: svn://10.0.0.236/trunk@236029 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-15 15:11:41 +00:00
igor%mir2.org
4be524fa01 Bug 393184: js_NewGCThing no longer zeros the allocated thing. r=brendan
git-svn-id: svn://10.0.0.236/trunk@232883 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 20:56:08 +00:00
igor%mir2.org
fed9f64bb2 Bug 391290: mutability flag for strings is stored inside strings. r=brendan
git-svn-id: svn://10.0.0.236/trunk@232204 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-16 06:23:06 +00:00
igor%mir2.org
613a6929c3 Bug 392074: JS_IS_VALID_TRACE_KIND no longer refers to the removed JSTRACE_ATOM. r=brendan
git-svn-id: svn://10.0.0.236/trunk@231973 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-13 20:23:34 +00:00
igor%mir2.org
d3d83b6a81 Bug 386265: using double kashing for atoms. r=brendan
git-svn-id: svn://10.0.0.236/trunk@231897 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-11 20:25:18 +00:00
dbaron%dbaron.org
ff5a646489 Fix leak of JSScript when a JSFunction is collected in a later GC than its function object. This changes GCX_PRIVATE to GCX_FUNCTION, and is essentially the same as the finalization part of the changes from bug 375808 (by igor). b=389757 r=igor a1.9=brendan
git-svn-id: svn://10.0.0.236/trunk@231478 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-04 07:00:43 +00:00
igor%mir2.org
8ee7408a67 Bug 380469: Calling close on unreachable generators from GC is no longer supported. r=brendan
git-svn-id: svn://10.0.0.236/trunk@229883 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 07:28:47 +00:00
igor%mir2.org
0ec23405cf Bug 385729: objects and regexps are stored in separated tables in JSScript. r=brendan,mrbkap
git-svn-id: svn://10.0.0.236/trunk@229506 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 09:03:37 +00:00
peterv%propagandism.org
66b3ffcda2 Fix for bug 377884 (Switch nsXPConnect::Traverse to use tracing). r=jst/igor, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@227000 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-25 08:42:10 +00:00
crowder%fiverocks.com
d2bda4f82e Bug 308429: make tooMuchGC dynamic (runtime gczeal option), r=brendan
git-svn-id: svn://10.0.0.236/trunk@226487 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-15 23:27:20 +00:00
igor%mir2.org
f92cdfb6ca Bug 378261: Replacing GC_MARK_DEBUG by DumpHeap. r=brendan
git-svn-id: svn://10.0.0.236/trunk@225006 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 13:43:18 +00:00
igor%mir2.org
1d94d8a9d6 Bug 378492: proper checks for null and jsval type when tracing, r=brendan
git-svn-id: svn://10.0.0.236/trunk@224972 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-24 23:11:02 +00:00
igor%mir2.org
4bb4c414fe Bug 375270: API to trace GC things graph without running the GC. r=brendan
git-svn-id: svn://10.0.0.236/trunk@224614 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 06:53:39 +00:00