[Bug libstdc++/68606] Reduce or disable the static emergency pool for C++ exceptions
dumoulin.thibaut at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Sep 28 07:00:51 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68606
Thibaut M. <dumoulin.thibaut at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dumoulin.thibaut at gmail dot com
--- Comment #10 from Thibaut M. <dumoulin.thibaut at gmail dot com> ---
I understand the patch
https://gcc.gnu.org/legacy-ml/gcc-patches/2016-12/msg01158.html has not been
applied.
The dynamic constructor of global variable `pool emergency_pool;` in
`libstdc++-v3/libsupc++/eh_alloc.cc` remains and is still allocating
unconditionally at least 2.5ko on the heap.
> see the "performance of exception handling" / "size of exception handling"
> thread in this month's archive of the gcc mailing list
I was not able to find the thread about "exception handling" of 2020-05, could
you point it out or detail the conclusion please?
Has a solution been found for embedded systems with very limited resources? In
this case for example, C++ exceptions can be disabled and this emergency pool
not needed.
More information about the Gcc-bugs
mailing list