OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MemoryRegionMap
(Results
1 - 14
of
14
) sorted by null
/external/chromium_org/third_party/tcmalloc/vendor/src/
memory_region_map.cc
35
// Background and key design points of
MemoryRegionMap
.
37
//
MemoryRegionMap
is a low-level module with quite atypical requirements that
40
//
MemoryRegionMap
collects info about *all* memory regions created with
46
// This is needed by the primary client of
MemoryRegionMap
:
49
// if
MemoryRegionMap
were to miss some (early) regions, leak checking would
53
// constructor execution
MemoryRegionMap
is done as a singleton service
67
// allocator, including the allocator
MemoryRegionMap
itself must rely on.
70
// a link-time installed mmap/sbrk hook and it initializes
MemoryRegionMap
74
//
MemoryRegionMap
is doing its memory allocations via LowLevelAlloc:
76
//
MemoryRegionMap
by not holding any of its own locks while it calls mma
[
all
...]
memory_region_map.h
65
// For more details on the design of
MemoryRegionMap
67
class
MemoryRegionMap
{
78
// Every client of
MemoryRegionMap
must call Init() before first use,
80
// this (singleton) class properly.
MemoryRegionMap
assumes it's the
92
//
MemoryRegionMap
::Lock()/Unlock() to manage the locks.
111
// Locker object that acquires the
MemoryRegionMap
::Lock
122
// This is essentially an interface through which
MemoryRegionMap
131
// a user of
MemoryRegionMap
supplies this info
150
private: // helpers for
MemoryRegionMap
151
friend class
MemoryRegionMap
;
[
all
...]
heap-checker.cc
637
RAW_DCHECK(
MemoryRegionMap
::LockIsHeld(), "");
648
MemoryRegionMap
::Region region;
649
if (
MemoryRegionMap
::FindAndMarkStackRegion(top, ®ion)) {
664
// not in
MemoryRegionMap
, look in library_live_objects:
676
//
MemoryRegionMap
that land in it to undo merging of regions
682
RAW_DCHECK(
MemoryRegionMap
::LockIsHeld(), "");
683
for (
MemoryRegionMap
::RegionIterator r =
684
MemoryRegionMap
::BeginRegionLocked();
685
r !=
MemoryRegionMap
::EndRegionLocked(); ++r) {
[
all
...]
heap-profile-table.cc
371
MemoryRegionMap
::LockHolder l;
372
for (
MemoryRegionMap
::RegionIterator r =
373
MemoryRegionMap
::BeginRegionLocked();
374
r !=
MemoryRegionMap
::EndRegionLocked(); ++r) {
437
total_with_mmap.alloc_size +=
MemoryRegionMap
::MapSize();
438
total_with_mmap.free_size +=
MemoryRegionMap
::UnmapSize();
heap-profiler.cc
423
// Ask
MemoryRegionMap
to record all mmap, mremap, and sbrk
425
MemoryRegionMap
::Init(HeapProfileTable::kMaxStackDepth);
509
MemoryRegionMap
::Shutdown();
/external/chromium_org/third_party/tcmalloc/chromium/src/
memory_region_map.cc
35
// Background and key design points of
MemoryRegionMap
.
37
//
MemoryRegionMap
is a low-level module with quite atypical requirements that
40
//
MemoryRegionMap
collects info about *all* memory regions created with
46
// This is needed by the primary client of
MemoryRegionMap
:
49
// if
MemoryRegionMap
were to miss some (early) regions, leak checking would
53
// constructor execution
MemoryRegionMap
is done as a singleton service
67
// allocator, including the allocator
MemoryRegionMap
itself must rely on.
70
// a link-time installed mmap/sbrk hook and it initializes
MemoryRegionMap
74
//
MemoryRegionMap
is doing its memory allocations via LowLevelAlloc:
76
//
MemoryRegionMap
by not holding any of its own locks while it calls mma
[
all
...]
memory_region_map.h
66
// For more details on the design of
MemoryRegionMap
68
class
MemoryRegionMap
{
83
// Every client of
MemoryRegionMap
must call Init() before first use,
85
// this (singleton) class properly.
MemoryRegionMap
assumes it's the
100
//
MemoryRegionMap
::Lock()/Unlock() to manage the locks.
110
// Return true if
MemoryRegionMap
is initialized and recording, i.e. when
123
// Locker object that acquires the
MemoryRegionMap
::Lock
134
// This is essentially an interface through which
MemoryRegionMap
143
// a user of
MemoryRegionMap
supplies this info
162
private: // helpers for
MemoryRegionMap
[
all
...]
deep-heap-profile.cc
792
//
MemoryRegionMap
and /proc/maps, the OS-level memory mapping information.
810
// To deal with the situation, this function iterates over
MemoryRegionMap
and
811
// /proc/maps independently. The iterator for
MemoryRegionMap
is initialized
820
MemoryRegionMap
::LockHolder lock_holder;
835
MemoryRegionMap
::RegionIterator mmap_iter =
836
MemoryRegionMap
::BeginRegionLocked();
838
if (mmap_iter !=
MemoryRegionMap
::EndRegionLocked()) {
882
if (
MemoryRegionMap
::IsRecordingLocked()) {
886
// Iterates over
MemoryRegionMap
until the iterator moves out of the VMA.
893
if (mmap_iter !=
MemoryRegionMap
::EndRegionLocked())
[
all
...]
heap-checker.cc
637
RAW_DCHECK(
MemoryRegionMap
::LockIsHeld(), "");
648
MemoryRegionMap
::Region region;
649
if (
MemoryRegionMap
::FindAndMarkStackRegion(top, ®ion)) {
664
// not in
MemoryRegionMap
, look in library_live_objects:
676
//
MemoryRegionMap
that land in it to undo merging of regions
682
RAW_DCHECK(
MemoryRegionMap
::LockIsHeld(), "");
683
for (
MemoryRegionMap
::RegionIterator r =
684
MemoryRegionMap
::BeginRegionLocked();
685
r !=
MemoryRegionMap
::EndRegionLocked(); ++r) {
[
all
...]
heap-profiler.cc
248
// hence
MemoryRegionMap
will let us remove everything we've added above:
502
// Ask
MemoryRegionMap
to record all mmap, mremap, and sbrk
504
MemoryRegionMap
::Init(HeapProfileTable::kMaxStackDepth,
625
MemoryRegionMap
::Shutdown();
deep-heap-profile.h
359
const
MemoryRegionMap
::RegionIterator& mmap_iter,
heap-profile-table.cc
429
MemoryRegionMap
::IterateBuckets<BufferArgs*>(DumpBucketIterator, &buffer);
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
heap-checker_unittest.cc
[
all
...]
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
heap-checker_unittest.cc
[
all
...]
Completed in 1579 milliseconds