mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
1e631092c5
This makes things slightly more inconvenient (having to set two environment variables instead of one for the simplest case) until a few patches down the line, when DMD is statically linked, at which point it will get down to one environment variable every time. --HG-- extra : rebase_source : 08dc3c05318b572ae1026227d0369fa8bf21b20f
73 lines
2.2 KiB
Plaintext
73 lines
2.2 KiB
Plaintext
#-----------------------------------------------------------------
|
|
# 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%)
|
|
}
|
|
|