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
Andreas Gal
ddb6af4683
Switch to malloc (avoid new where possible) and properly initialize capacity.
2008-06-19 19:19:39 -07:00
Jim Blandy
6339c8ed6a
Bug 424399: Remove unused directory "js/src/fdlibm". r+a=shaver
2008-06-19 18:44:10 -07:00
Andreas Gal
33ecda6e85
Added danderson's test cases for nanojit. Execute with nanojit() from JS shell.
2008-06-19 18:28:15 -07:00
Mats Palmgren
cf7d7fdca9
Make the test work also with desktop theme where background color for text widgets is not white. b=435048 r=karlt
2008-06-20 02:45:05 +02:00
Andreas Gal
4ddef8f5e3
Added hook to trigger nanojit test code from the JS shell.
2008-06-19 17:14:17 -07:00
Andreas Gal
48b30922c7
Drop helper code that is no longer needed.
2008-06-19 15:49:32 -07:00
Andreas Gal
9a6946405f
Added necessary glue code to make nanojit compile in DEBUG mode.
2008-06-19 15:32:40 -07:00
Mats Palmgren
aaa49ce031
URI.path one character short after redirect involving fragment. b=438288 r+sr=cbiesinger
2008-06-19 23:39:46 +02:00
Brendan Eich
ebd14bc55b
Merge.
2008-06-19 12:54:20 -07:00
Brendan Eich
02f5b1cb7b
Fix old assignment expression rval mutation via getter design, optimize setprop;pop and similar cliches (312354, r=igor).
2008-06-19 12:51:57 -07:00
Bo Yang
02c5d88928
Bug 439603 - scope a case statement to avoid an unusual error during cross-compiling, r=roc
2008-06-19 14:32:52 -04:00
Ted Mielczarek
5f53c706ca
bug 406088 - crash reporter sucks in rtl. fix for linux. r=dcamp
2008-06-19 14:04:57 -04:00
Andreas Gal
5a17de3bca
Landed nanojit in TraceMonkey. This is untested and DEBUG must be off for now since we don't support AVM's String class.
2008-06-19 10:47:58 -07:00
Daniel Holbert
45c15b02c6
Merged after backing out leaking changeset b0d1180627db
2008-06-19 09:28:21 -07:00
Daniel Holbert
bafc2c5c86
Backed out changeset b0d1180627db (caused tinderbox oranges from leaks)
2008-06-19 09:17:08 -07:00
Bo Yang
3e58f95254
Bug 439593 - compile error in mingw casting HKL to DWORD, r=roc
2008-06-19 10:32:04 -04:00
Bo Yang
618165711b
Bug 439593 - GCC can't convert types automatically when cross-compiling, r=roc
2008-06-19 10:24:30 -04:00
Neil Deakin
600683d72b
Bug 437640, support removing <keyset> elements, and add support for a disabled attribute,r+sr=neil
2008-06-19 09:36:46 -04:00
Simon Montagu
5e9bee9eb7
reftest for bug 439910
2008-06-19 12:36:42 +03:00
Simon Montagu
661c1e5933
Set glyph info for low surrogates in Pango. Bug 439910, r+sr=roc
2008-06-18 23:14:51 -07:00
Andreas Gal
f5d51ff347
Added Assembler.h and vm_fops.h (blank for now) from TT.
2008-06-18 21:32:23 -07:00
Andreas Gal
debb2cc333
Added RegAlloc.h and Fragmento.h from TT.
2008-06-18 21:23:53 -07:00
Andreas Gal
0c21fdbd7e
Added LIR.h from TT.
2008-06-18 21:11:15 -07:00
Andreas Gal
0e152648fe
Added Native*.h from TT.
2008-06-18 20:57:17 -07:00
Andreas Gal
eed27a563d
Added nanojit.h from TT.
2008-06-18 20:49:37 -07:00