Commit Graph

15922 Commits

Author SHA1 Message Date
Andreas Gal
4312eb9b9b Write back stack/local variable state in the trace code and improved redundand boxing/unboxing elimination. 2008-06-22 19:58:24 -07:00
Robert O'Callahan
a26b26f96f Mark reftest as passing 2008-06-23 14:41:21 +12:00
Robert O'Callahan
c4187f5254 Bug 344258. Make XUL use the shared ID-element map. r+sr=jst 2008-06-23 13:48:05 +12:00
Robert O'Callahan
c29eac2bf6 Bug 344258. Move ID-content map up from nsHTMLDocument to nsDocument to prepare for using it across all document types. r+sr=jst 2008-06-23 11:12:40 +12:00
Robert O'Callahan
efc2f0abe2 Bug 438981. The canonical 'body element' must be the first 'body' child. 2008-06-23 10:38:29 +12:00
Andreas Gal
6d192a7054 Added end-of-trace detection and make sure trace loops back to the loop header. 2008-06-22 09:30:04 -07:00
Robert Longson
aaefd90612 Bug 438867 - rftest for SVG not rendered after html hr element. 2008-06-22 17:22:07 +01:00
Robert Longson
7fc5d658cb Bug 438867 - SVG not rendered after html hr element. r+sr=roc 2008-06-22 16:59:48 +01:00
Robert Longson
85b5603e9c Bug 434041 - text outline does not change thickness on zoom 2008-06-22 16:45:38 +01:00
Simon Montagu
5148d12d4a Unit test for bug 9357 (Autodetection of EUC-KR) 2008-06-22 01:28:42 -07:00
Andreas Gal
2270a14eb0 Fix guard code assembly. This code generates trace code for the first time. 2008-06-21 23:45:16 -07:00
Andreas Gal
3197b76462 Mork work on attaching nanojit to our primitives. Traces have now their own box type (Box), which is an opaque 64-bit value. Its never supposed to appear in the trace since we will optimize away all boxing operations. 2008-06-21 22:28:41 -07:00
Andreas Gal
78da0668af Start attaching our tracer to nanojit. This is incomplete and meant for review by David only. 2008-06-21 14:55:32 -07:00
Peter Van der Beken
c993fed597 Address review comment for bug 423471 - Cycle collection shouldn't fault when traversing script objects of languages that don't participate. r/sr=dbaron. 2008-06-21 19:47:46 +02:00
Peter Van der Beken
b222a800ca Bug 423471 - Cycle collection shouldn't fault when traversing script objects of languages that don't participate. r/sr=dbaron. 2008-06-21 17:25:29 +02:00
Robert Strong (robert.bugzilla@gmail.com)
e9c027772f Bug 395891 - Profile Manager prevents Minefield startup from OS Integration points (links in Mails, etc). patch=Masatoshi Kimura (:emk) r=rob_strong 2008-06-20 17:21:21 -07:00
dvander@traceknight.local
4fd375f52b Fixed the test case not setting the lastIns value in Fragment 2008-06-20 15:45:37 -07:00
dvander@traceknight.local
490d9eb8b5 Fixed _thisfrag not being set in beginAssembly 2008-06-20 14:40:40 -07:00
dvander@traceknight.local
1d79a74ace Fixed beginAssembly() not setting _thisfrag which verbosity requires 2008-06-20 14:38:39 -07:00
Andreas Gal
f53b17ea14 Backed out explicit zeroing in the constructor of Assembler and Fragmento. 2008-06-20 14:30:29 -07:00
Andreas Gal
dbab3f5a43 Backed out changeset b142c62e7602 2008-06-20 14:29:10 -07:00
Andreas Gal
29c6494f2c Back out explicit zeroing in the constructor and ensure heap allocated objects are implicitly zero-ed out. 2008-06-20 14:26:43 -07:00
Brendan Eich
00548a9ef5 Fix bustage caused by over-aggressive TRY_BRANCH_AFTER_COND in STRICT_EQUALITY_OP (used by JSOP_CASE*). 2008-06-20 14:25:38 -07:00
dvander@traceknight.local
ee94b07a44 Fixed cases of the tests not prepping the tracer properly for verbosity 2008-06-20 13:55:56 -07:00
Brendan Eich
ff11123bed Fuse branch after relational or equality op (363534, r=igor). 2008-06-20 13:17:51 -07:00
Jason Evans
ed1483c02b Bug 431735: Fix build failures due to compiler flag incompatibilities, r=ted 2008-06-20 12:00:29 -07:00
dvander@traceknight.local
f086d675e7 fixed constructor relying on zero'd allocation 2008-06-20 11:48:02 -07:00
dvander@traceknight.local
10ed967625 fixed memory corruption in verbosity initialization code 2008-06-20 11:43:49 -07:00
dvander@traceknight.local
f1a775ac86 use valloc() on Darwin for GCHeap 2008-06-20 11:38:46 -07:00
dvander@traceknight.local
7feb713f8b fixed code generation for the LIR_in -> LIR_param change 2008-06-20 11:38:21 -07:00
Jason Evans
d5c3782159 Bug 432475: Remove _malloc_options abuse, r=benjamin
Don't abuse _malloc_options to set platform-specific options, since doing so
makes the MALLOC_OPTIONS environment variable less useful.
2008-06-20 10:34:42 -07:00
Jason Evans
97c3fc2779 Bug 431739: Limit dirty page purging, r=benjamin
Limit dirty page purging so that it terminates once the number of pages is no
more than half the limit.

Add a separate tree to track arena chunks that contain dirty pages.  This
substantially improves worst case allocation performance, since O(lg n) tree
search can be used instead of O(n) tree iteration.
2008-06-20 10:34:42 -07:00
Jason Evans
760615dfb7 Bug 431735: Use rb.h instead of tree.h, r=benjamin
Use rb.h instead of tree.h for red-black trees, in order to reduce memory
overhead.
2008-06-20 10:34:42 -07:00
Jason Evans
28798a5216 Bug 431221: Disable glib slice allocator, r=benjamin
Disable glib's slice sub-allocator[1], which is implemented as a zone allocator
layered on top of malloc.  Since jemalloc is itself a zone allocator, the extra
abstraction level forces segregation of equal-sized objects that could
otherwise be packed together.

[1] http://library.gnome.org/devel/glib/stable/glib-Memory-Slices.html
2008-06-20 10:34:42 -07:00
Jason Evans
c2b08b09ba Bug 422960: Add jemalloc_stats() and jemalloc.h, r=benjamin 2008-06-20 10:34:42 -07:00
Jason Evans
61869dc519 Bug 432894: X related valgrind | jemalloc - startup errors, r=bclary,r=benjamin
Fix bugs in jemalloc's valgrind support.
2008-06-20 10:34:41 -07:00
Jason Evans
380151b1da Bug 431743: Upstream jemalloc fixes, r=benjamin
Incorporate upstream jemalloc fixes from FreeBSD:
  * Detect overflow for huge allocations via sbrk(2).
  * Fix deadlock for base (internal) allocations in OOM case.
  * Fix bitmap vector initialization for small allocation runs.
2008-06-20 10:29:43 -07:00
Alexander Surkov
5b861dae27 merge 2008-06-20 21:26:51 +08:00
Alexander Surkov
440ff8d4a5 Bug 438325 – Link with title and an image that has neither alt nor title doesn't get an accessible name 2008-06-20 21:19:23 +08:00
Igor Bukanov
c6b43c7494 [Bug 433382] More efficient interpreter switch when computed goto is not available. r=brendan 2008-06-20 11:55:49 +02:00
Igor Bukanov
fed7ad6a4a Backed out changeset 97977f224aff due to build breakage 2008-06-20 11:46:36 +02:00
Igor Bukanov
ac0a058f20 [Bug 433382] More efficient interpreter switch when computed goto
is not available. r=brendan
2008-06-20 10:06:45 +02:00
Igor Bukanov
26b618a50f Backed out changeset 21527193c49b: the patch has used CSRCS, not CPPSRCS. 2008-06-20 09:45:29 +02:00
Igor Bukanov
feb0f05335 [Bug 433382] More efficient interpreter switch when computed goto is not available. r=brendan 2008-06-20 09:36:56 +02:00
Alexander Surkov
f88da4bbe8 Bug 438782 – Links should not unconditionally receive an accessible action of jump, r=MarcoZ 2008-06-20 13:50:27 +08:00
Mats Palmgren
360b3ef7a6 Take left border+padding into account when calculating distance from block edge for TAB. b=430926 r+sr=roc 2008-06-20 06:39:56 +02:00
Mats Palmgren
4ab230a0c3 Crash test for bug 431738 by Jesse Ruderman<jruderman@gmail.com>. 2008-06-20 06:09:51 +02:00
Mats Palmgren
1d73573468 Protect against div-by-zero when mRowHeight is zero. b=431738 r+sr=roc 2008-06-20 06:07:37 +02:00
Andreas Gal
9c6e4287f1 Properly align pages allocated by GCHeap. 2008-06-19 20:12:48 -07:00
Mats Palmgren
86d7a7027f Use async Invalidate() to avoid crashing. b=435422 r+sr=roc 2008-06-20 04:47:59 +02:00