Commit Graph
6 Commits
Author SHA1 Message Date
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