Igor Bukanov
3e7114aad2
bug 482038 - removal of JSRuntime.gcPoke checks from js_NewGCThing. r=brendan
2009-03-12 10:15:55 +01:00
Igor Bukanov
4ccdead266
bug 480700 - no more static asserts in headers. r=brendan
2009-03-05 12:12:50 +01:00
Jeff Walden
6913144660
Bug 480579 - __proto__ setting does not flag delegate, breaking deep property caching assumptions. Tag-team effort of Brendan and me, r=us
2009-02-27 22:23:09 -08:00
Jim Blandy
ede7e6d142
Bug 391488: Eliminate PTRDIFF macro; delete jssttddef.h. r=jimb
...
Delete jsstddef.h, since its only remaining purpose is to make certain
Win16-specific definitions; we don't support Win16 any more. In
particular, we can just subtract pointers now, so the PTRDIFF macro is
unnecessary noise.
Most places get stddef.h via jstypes.h or some other header, so we can
just delete #inclusions of jstddef.h. The exception is jskwgen.h, so
there we explicitly include <stddef.h> instead.
2009-02-18 09:14:51 -08:00
Andreas Gal
f796bcd60a
Substitute operation counting with a watchdog thread (477187, 2nd attempt, r=brendan/mrbkap/jst, sr=brendan/jst).
2009-02-10 03:45:36 -08:00
Andreas Gal
2a20c2a6de
Backing out bug 477187. Breaks xpcshell.
2009-02-09 22:54:05 -08:00
Andreas Gal
cbfbbd3cac
Substitute operation counting with a watchdog thread (477187, r=brendan/mrbkap/jst, sr=brendan/jst).
2009-02-09 18:20:50 -08:00
Igor Bukanov
61cd533870
bug 476934 - JS_(Set|Clear)ContextThread() must wait bfor the GC. r=brendan
2009-02-07 05:05:32 +01:00
Andreas Gal
a4a912921f
If js_AddAsGCBytes is called from trace and wants to GC and we can bail off trace then do so instead of returning an error (476869, r=jorendorff).
2009-02-06 10:11:45 -08:00
Jeff Walden
2ec31b1171
Back out 21494181fdb8 and subsequent merges because they turned OS X red.
2009-02-05 15:42:45 -08:00
Andreas Gal
7f9ae88519
If js_AddAsGCBytes is called from trace and wants to GC and we can bail off trace then do so instead of returning an error (476869, r=jorendorff).
2009-02-05 14:43:17 -08:00
Jason Orendorff
67419dff52
Bug 476466 - jsstack.js static analysis error in js_GC. r=bsmedberg.
2009-02-02 11:30:53 -06:00
Jason Orendorff
37f2985bdf
Bug 476177 - TM: cx->stackPool must not be accessed on trace. r=brendan.
...
--HG--
extra : rebase_source : 746d61b54aa38cbe18fe31bce4efcbbad4629678
2009-01-30 17:40:05 -06:00
Graydon Hoare
5219181495
Bug 475474 - Maintain globalSlots per global, not just one per JIT instance, r=danderson.
2009-01-29 15:59:52 -08:00
Jason Orendorff
6142999fde
Bug 468782 - TM: js_FastValueToIterator and js_FastCallIteratorNext can reenter (relanding with a bug fix). r=brendan. Note that this changeset alone does not fix the bug; an upcoming patch in bug 462027 completes the fix.
2009-01-28 09:24:35 -06:00
Brendan Eich
60770fa5b5
Bug 454184 - Implement eval caching (r=mrbkap).
2009-01-27 16:40:40 -08:00
Brendan Eich
914f4ef313
Back out due to Mac Tp orange (454184).
2009-01-27 15:52:10 -08:00
Brendan Eich
335791e844
Bug 454184 - Implement eval caching (r=mrbkap).
2009-01-27 13:53:31 -08:00
Andrei Saprykin
7b91b30052
bug 474801 - Checking for MaybeGC conditions when allocating GC things in JS shell. r=igor
2009-01-27 18:21:51 +01:00
Andreas Gal
868cf7c72c
Backed out changeset ece63b96379b
2009-01-27 00:10:38 -08:00
Jason Orendorff
c0cc74fa99
Bug 468782 - TM: js_FastValueToIterator and js_FastCallIteratorNext can reenter. r=brendan. Note that this changeset alone does not fix the bug; an upcoming patch in bug 462027 completes the fix.
2009-01-27 00:19:58 -06:00
Igor Bukanov
ae33cd4a05
bug 475146 - fixing gczeal checks in RefillDoubleFreeList. r=mrbkap
2009-01-26 19:51:20 +01:00
Andreas Gal
184fc63cd1
Backout bug 468782. Confirmed to leak.
2009-01-25 16:38:31 -08:00
Jason Orendorff
c9961fe054
Bug 468782 - TM: js_FastValueToIterator and js_FastCallIteratorNext can reenter. r=brendan. Note that this changeset alone does not fix the bug; an upcoming patch in bug 462027 completes the fix.
2009-01-22 16:39:26 -06:00
Andreas Gal
920ecc2113
Backed out changeset 17663da1b840 (bug 462027).
2009-01-23 15:14:46 -08:00
Jason Orendorff
9ff9140ae0
Bug 468782 - TM: js_FastValueToIterator and js_FastCallIteratorNext can reenter. r=brendan. Note that this changeset alone does not fix the bug; an upcoming patch in bug 462027 completes the fix.
...
--HG--
extra : rebase_source : 585d590aace159914629a786489b0883d23cf2a8
2009-01-22 16:39:26 -06:00
Igor Bukanov
348de1aa60
Backed out changeset a0e1d4a2404f - the patch for the bug 474586 causes timeouts in crash tests on Mac and Windows.
2009-01-21 20:22:42 +01:00
Andrei Saprykin
375373bb9b
bug 453432 - Checking for MaybeGC conditions when allocating GC things
2009-01-21 16:47:17 +01:00
Igor Bukanov
0d085b6a80
Backed out changeset e74857ea8248 - this caused unit test failures on Mac
2009-01-20 17:11:09 +01:00
Andrei Saprykin
63a490ceb1
bug 453432 - Checking for MaybeGC conditions when allocating GC things
2009-01-20 15:50:39 +01:00
Benjamin Smedberg
2e26c94375
Bug 472461 part 2 - jsgc crashes with !JS_TRACER, r=jorendorff for immediate bustage fix, and I'll get ex-post-facto review from Igor
2009-01-08 10:44:16 -05:00
Benjamin Smedberg
9d2a991be0
Bug 472461 part 1 - jsgc.cpp fails to compile with !JS_TRACER, initial patch by Igor, r=jorendorff with nits fixed by bsmedberg
2009-01-08 10:43:33 -05:00
Jason Orendorff
be00149c86
Bug 462021 - TM: Make JSStackFrame reconstitution infallible (part 4 of 4, rename recoveryDoublePool to reservedDoublePool, r=brendan)
...
--HG--
extra : rebase_source : d865549cb727aada20fbaa78286de37a97b85bca
2009-01-06 13:39:14 -06:00
Jason Orendorff
b20c028359
Bug 462021 - TM: Make JSStackFrame reconstitution infallible (part 3 of 4, call objects, r=brendan)
...
--HG--
extra : rebase_source : 14a82b2b08c8b7dbae5e72623685b7c3947df603
2008-12-11 17:53:05 -06:00
Igor Bukanov
b2f4132cb7
bug 471197 - during GC call js_GetTopStackFrame only for contexts with frames. r=brendan
2008-12-27 00:05:15 +01:00
Robert Sayre
c918482535
Merge m-c to tracemonkey.
2008-12-18 15:17:19 -05:00
Igor Bukanov
5f6b121715
bug 467441 - avoiding js_(Add|Remove)Root for regexp statics. r=crowder
2008-12-18 21:06:45 +01:00
Igor Bukanov
6df56327b7
bug 458099 - DOMOperationCallback can get a JSContext with no global object. r=peterv sr=mrbkap
2008-12-14 22:40:10 -08:00
Jason Orendorff
b7fb9bc849
Bug 460865 - Read barrier for cx->fp. r=mrbkap, r=dmandelin.
...
--HG--
extra : rebase_source : 19963188b2f9f96336ce6ca28dbaefccf3a639b7
2008-12-09 10:38:32 -06:00
Igor Bukanov
306805aa02
bug 466206, r=brendan a191=beltzner
2008-11-27 10:16:30 +00:00
Boris Zbarsky
55472dc351
Backed out changeset 7bc1ba9f91fe to fix test orange
2008-11-26 17:54:40 -05:00
Andrei Saprykin
651c16ba12
Bug 453432 - Checking for MaybeGC conditions when allocating GC things.
...
r=igor,mrbkap a191=blocker
2008-11-26 18:09:24 +01:00
Igor Bukanov
b31f8300ea
bug 452913 - fixing sprop management, r=brendan, a.9.1b2=sayer
2008-11-17 13:59:39 +01:00
Igor Bukanov
a76c374322
bug 464334 - removal of no longer applicable asserts that sp <= static spdepth. r=brendan a1.9.1b2=beltzner
2008-11-17 13:48:57 +01:00
Andreas Gal
25404443ff
GC no longer flushes the JIT cache. Instead just make sure the shape of the global object will mismatch next time we try to record or execute code, which in turn will force a flush of the code cache (458288, r=brendan/danderson).
2008-10-28 16:22:08 -07:00
Andreas Gal
83ea7eb834
Merge.
2008-09-30 16:35:52 -07:00
Andreas Gal
7bb0a663e6
Use a pre-allocated pool of doubles to make sure we can safely recover in case of OOM or out of doubles (456826, r=brendan).
2008-09-25 19:11:48 -07:00
Igor Bukanov
82f9c64e29
bug 378918 - scalable thread-local GC free lists
2008-09-25 15:27:59 +02:00
Andreas Gal
368f7d5382
Merge with mozilla-central.
2008-09-21 12:44:24 -07:00
Brendan Eich
510c72d4f0
Bug 455464 - TM: "Assertion failure: !TRACE_RECORDER(cx) ^ (jumpTable == recordingJumpTable)" with gc getter (r=mrbkap).
2008-09-17 08:10:23 +01:00