summaryrefslogtreecommitdiffstats
path: root/memory/replace/dmd/test/script-ignore-alloc-fns-expected.txt
blob: 9428ef45fb8a2393cbc50aa48396741ab31a15d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#-----------------------------------------------------------------
# dmd.py --filter-stacks-for-testing -o script-ignore-alloc-fns-actual.txt --ignore-alloc-fns script-ignore-alloc-fns.json

Invocation {
  $DMD = '1'
  Mode = 'dark-matter'
}

#-----------------------------------------------------------------

# no twice-reported heap blocks

#-----------------------------------------------------------------

Unreported {
  1 block in heap block record 1 of 4
  1,048,576 bytes (1,048,576 requested / 0 slop)
  93.22% of the heap (93.22% cumulative)
  93.22% of unreported (93.22% cumulative)
  Allocated at {
    #01: A (A.cpp:99)
  }
}

Unreported {
  1 block in heap block record 2 of 4
  65,536 bytes (65,536 requested / 0 slop)
  5.83% of the heap (99.05% cumulative)
  5.83% of unreported (99.05% cumulative)
  Allocated at {
    #01: js::jit::JitRuntime::initialize(JSContext*) (Ion.cpp:301)
  }
}

Unreported {
  1 block in heap block record 3 of 4
  8,192 bytes (8,000 requested / 192 slop)
  0.73% of the heap (99.78% cumulative)
  0.73% of unreported (99.78% cumulative)
  Allocated at {
    #01: mozilla::Vector::growStorageBy(unsigned long) (Vector.h:802)
    #02: D (D.cpp:99)
  }
}

Unreported {
  1 block in heap block record 4 of 4
  2,500 bytes (2,500 requested / 0 slop)
  0.22% of the heap (100.00% cumulative)
  0.22% of unreported (100.00% cumulative)
  Allocated at {
    #01: g_type_create_instance (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0)
    #02: not_an_alloc_function_so_alloc_functions_below_here_will_not_be_stripped (blah)
    #03: replace_posix_memalign (replace_malloc.h:120)
    #04: ??? (/lib/x86_64-linux-gnu/libglib-2.0.so.0)
    #05: another_non_alloc_function (blah)
  }
}

#-----------------------------------------------------------------

# no once-reported heap blocks

#-----------------------------------------------------------------

Summary {
  Total:             1,124,804 bytes (100.00%) in       4 blocks (100.00%)
  Unreported:        1,124,804 bytes (100.00%) in       4 blocks (100.00%)
  Once-reported:             0 bytes (  0.00%) in       0 blocks (  0.00%)
  Twice-reported:            0 bytes (  0.00%) in       0 blocks (  0.00%)
}