Nicholas Nethercote
fb3b8e2759
Bug 1523276 - Implement PHC, a probabilistic heap checker. r=glandium,gsvelto
...
Differential Revision: https://phabricator.services.mozilla.com/D25021
2019-07-03 09:26:11 +10:00
Nicholas Nethercote
7f09190030
Bug 1558365 - Simplify PtrInfoTag. r=glandium
...
This makes it less mozjemalloc-specific, which is helpful for PHC. No non-test
code uses the extra detail anyway.
Differential Revision: https://phabricator.services.mozilla.com/D34441
2019-06-12 07:38:30 +00:00
Chris Martin
573d21918b
Bug 1052579 - Modify GTest for jemalloc_ptr_info() to check arenaId r=glandium
...
In D25711, I added an arenaId member to `jemalloc_ptr_info_t` when `MOZ_DEBUG`
is defined. This modifies the GTest for `jemalloc_ptr_info()` to ensure that
the new member returns the correct value.
Differential Revision: https://phabricator.services.mozilla.com/D30087
2019-05-07 00:34:42 +00:00
Gian-Carlo Pascutto
b8b640e095
Bug 1537781 - Test for trailing guard pages for normal allocations. r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D27913
2019-05-02 14:19:19 +00:00
Gian-Carlo Pascutto
51783d701a
Bug 1537781 - Trailing guard pages for normal allocations. r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D27912
2019-05-02 14:19:17 +00:00
Sylvestre Ledru
1666e92b07
Bug 1542146 - Apply the change with the option StatementMacros from clang-format-8 r=andi
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26280
2019-04-05 21:42:17 +00:00
Csoregi Natalia
2ded4ab36d
Backed out changeset 4ad80127f89f (bug 1519636) for bustage on MarkupMap.h and nsAccessibilityService.cpp. CLOSED TREE
2019-04-05 09:48:19 +03:00
Sylvestre Ledru
ebe9c62d30
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
2019-04-04 21:36:16 +00:00
Narcis Beleuzu
6b9ce2a82b
Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE
2019-04-05 00:27:56 +03:00
Sylvestre Ledru
194039a8d9
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
2019-04-04 20:12:23 +00:00
Gian-Carlo Pascutto
bc8f0fa4c8
Bug 1529922 - Add guard pages following huge allocations. r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D23292
2019-03-20 10:45:15 +00:00
Ehsan Akhgari
498e2df734
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
2019-01-18 10:16:18 +01:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Calixte Denizet
26c8841579
Bug 1474254 -- Disable test Jemalloc.JunkPoison for Windows ccov builds.
...
Summary: GTest is permafailing on Windows because of timeout.
Reviewers: glandium
Reviewed By: glandium
Bug #: 1474254
Differential Revision: https://phabricator.services.mozilla.com/D2043
2018-07-27 22:48:14 +03:00
Tom Ritter
d82edcc4d9
Bug 1446466 Remove Nightly-only restriction on jemalloc arena implementation r=glandium
...
MozReview-Commit-ID: CC2cftngmli
2018-03-21 20:53:46 -05:00
Tom Ritter
02783fff8b
Bug 1446466 Crash if moz_dispose_arena is called, and comment out all callers r=glandium
...
Bug 1364359 is to fix a leaked arena. Until that is fixed; it is unsafe to
call moz_dispose_arena more than once.
MozReview-Commit-ID: KIby1RLtrPK
2018-03-21 20:49:35 -05:00
Gabriele Svelto
482659850b
Bug 1402519 - When the crash reporter code is disabled at configure time replace it with a dummy implementation; r=ted.mielczarek
...
MozReview-Commit-ID: F5QbaI1LlmZ
2017-11-14 14:49:33 +01:00
shindli
f90a73f3c0
Backed out 16 changesets (bug 1402519) for conflicts during merge r=backout on a CLOSED TREE
...
Backed out changeset 07fcf163241a (bug 1402519)
Backed out changeset c6d2ad45d8e2 (bug 1402519)
Backed out changeset 8a3caca61294 (bug 1402519)
Backed out changeset 01425eae2c48 (bug 1402519)
Backed out changeset cf298d3815de (bug 1402519)
Backed out changeset e1964f4389cd (bug 1402519)
Backed out changeset f405337f3569 (bug 1402519)
Backed out changeset a76356fd3359 (bug 1402519)
Backed out changeset d3bb350d1c34 (bug 1402519)
Backed out changeset 9d3bfd9f932c (bug 1402519)
Backed out changeset e3dd6e5b073f (bug 1402519)
Backed out changeset e801b0c00134 (bug 1402519)
Backed out changeset 8a4139fa5dca (bug 1402519)
Backed out changeset 8d01c14ac1ca (bug 1402519)
Backed out changeset 24e0dcd01898 (bug 1402519)
Backed out changeset f8fdf450613f (bug 1402519)
2017-11-23 00:11:44 +02:00
Gabriele Svelto
2dd38c6cdb
Bug 1402519 - When the crash reporter code is disabled at configure time replace it with a dummy implementation; r=ted.mielczarek
...
MozReview-Commit-ID: F5QbaI1LlmZ
2017-11-14 14:49:33 +01:00
Mike Hommey
ed7a22d2f4
Bug 1418123 - Apply junk on huge and large reallocations. r=njn
...
Zero and junk should have the same scope, but currently huge and large
reallocs are zeroed when zeroing is enabled, but are not junked when
junking is enabled. This makes things straight, leaning on the side of
filling the added bytes, rather than not.
This has an actual effect on debug builds, where junk is enabled by
default.
2017-11-16 16:34:31 +09:00
Mike Hommey
4af2d752e8
Bug 1418104 - Add various realloc, junk and poisoning unit tests. r=njn
2017-11-16 16:41:41 +09:00
Ryan VanderMeulen
50e0de1655
Bug 1402283 - Fix typo. r+a=RyanVM
2017-11-10 17:07:27 -05:00
Mike Hommey
71d280c9c1
Bug 1402283 - Fix non-Nightly build bustage. r+a=RyanVM
2017-11-10 16:55:37 -05:00
Mike Hommey
947f02891f
Bug 1402283 - Enforce arena matching on moz_arena_{realloc,free}. r=njn
...
This enforces the API contract as described in memory/build/malloc_decls.h.
2017-11-10 16:05:24 +09:00
Mike Hommey
6b2175a3a6
Bug 1414155 - Define pagesize_2pow in terms of pagesize, not the opposite. r=njn
...
At the same time, add user-defined literals to make those constants more
legible.
2017-11-01 18:07:06 +09:00
Nicholas Nethercote
92629c5b64
Bug 1389305 (attempt 2) - Add jemalloc_ptr_info() and moz_malloc_enclosing_size_of(). r=glandium.
2017-09-01 11:52:23 +10:00
Sebastian Hengst
8bc436fe88
Backed out changeset f232b5b1a0c7 (bug 1389305) for frequently failing GTest Jemalloc.PtrInfo on Linux opt. r=backout
2017-08-31 13:52:48 +02:00
Nicholas Nethercote
5decd5e753
Bug 1389305 - Add jemalloc_ptr_info() and moz_malloc_enclosing_size_of(). r=glandium.
...
jemalloc_ptr_info() gives info about any pointer, such as whether it's within a
live or free allocation, and if so, info about that allocation. It's useful for
debugging.
moz_malloc_enclosing_size_of() uses jemalloc_ptr_info() to measure the size of
an allocation from an interior pointer. It's useful for memory reporting,
especially for Rust code.
2017-08-24 19:37:27 +10:00
Eric Rahm
41c80ef7d6
Bug 1313485 - Convert XPCOM test TestJemalloc to a gtest. r=njn
...
MozReview-Commit-ID: 5yzn8o33Ne5
2016-11-09 10:24:22 -08:00
Sebastian Hengst
f3b9fd3b49
Backed out changeset 1b545e55e42a (bug 1313485) for bustage. r=backout
2016-11-07 23:46:09 +01:00
Eric Rahm
f1c4acfec0
Bug 1313485 - Convert XPCOM test TestJemalloc to a gtest. r=njn
...
MozReview-Commit-ID: 5yzn8o33Ne5
2016-11-07 14:26:25 -08:00