[Bug c++/12850] memory consumption for heavy template instantiations tripled since 3.3
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 26 19:31:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12850
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #49 from Jason Merrill <jason at gcc dot gnu.org> ---
Current -fmem-report (r262156, checking build):
GGC memory Garbage Freed
Leak Overhead Times
--------------------------------------------------------------------------------------------------------------------------------------------
[trim too-long comment]
cp/pt.c:8348 (coerce_template_parms) 6817576: 2.4% 0:
0.0% 937528: 0.3% 0: 0.0% 202820
cp/parser.c:651 (cp_lexer_new_main) 0: 0.0% 7340056:
2.6% 8388616: 2.8% 32: 0.0% 4
emit-rtl.c:4116 (make_note_raw) 8686160: 3.0% 0:
0.0% 8736: 0.0% 0: 0.0% 155266
dwarf2cfi.c:437 (copy_cfi_row) 9461232: 3.3% 0:
0.0% 0: 0.0% 0: 0.0% 65703
emit-rtl.c:384 (set_mem_attrs) 9613240: 3.3% 0:
0.0% 49440: 0.0% 0: 0.0% 241567
cfg.c:125 (alloc_block) 3142880: 1.1% 0:
0.0% 7364448: 2.5% 0: 0.0% 101032
cp/pt.c:12459 (tsubst_template_args) 9494008: 3.3% 0:
0.0% 1141672: 0.4% 0: 0.0% 277002
tree-ssanames.c:83 (init_ssanames) 0: 0.0% 125952:
0.0% 11877888: 4.0% 4001280: 22.2% 7815
emit-rtl.c:845 (gen_rtx_MEM) 12411408: 4.3% 0:
0.0% 270192: 0.1% 0: 0.0% 528400
toplev.c:918 (realloc_for_line_map) 0: 0.0% 625728:
0.2% 12963872: 4.4% 2319240: 12.9% 14979
tree-ssanames.c:295 (make_ssa_name_fn) 959544: 0.3% 0:
0.0% 12208680: 4.1% 0: 0.0% 182892
emit-rtl.c:473 (gen_raw_REG) 14950248: 5.2% 24:
0.0% 30624: 0.0% 0: 0.0% 624204
emit-rtl.c:488 (gen_rtx_EXPR_LIST) 15043416: 5.2% 0:
0.0% 14112: 0.0% 0: 0.0% 627397
emit-rtl.c:5846 (init_emit) 18473000: 6.4% 1757600:
0.6% 2600: 0.0% 4295664: 23.8% 7782
tree-ssa-operands.c:265 (ssa_operand_alloc) 0: 0.0% 1232896:
0.4% 20814848: 7.1% 0: 0.0% 9657
emit-rtl.c:4021 (make_insn_raw) 29981632: 10.3% 0:
0.0% 60480: 0.0% 0: 0.0% 469408
--------------------------------------------------------------------------------------------------------------------------------------------
Total 289790159:100.0%
279280216:100.0% 294500915:100.0% 18021250:100.0% 10562404
--------------------------------------------------------------------------------------------------------------------------------------------
89.26user 0.61system 1:30.15elapsed 99%CPU (0avgtext+0avgdata
773444maxresident)k
More information about the Gcc-bugs
mailing list