[Bug libstdc++/88264] Support glibc-style tunables for <memory_resource>
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 11 10:12:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88264
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2019-04-11
Ever confirmed|0 |1
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The emergency EH pool size should be tunable too.
From libsupc++/eh_alloc.cc:
// Allocate the arena - we could add a GLIBCXX_EH_ARENA_SIZE environment
// to make this tunable.
arena_size = (EMERGENCY_OBJ_SIZE * EMERGENCY_OBJ_COUNT
+ EMERGENCY_OBJ_COUNT * sizeof
(__cxa_dependent_exception));
arena = (char *)malloc (arena_size);
More information about the Gcc-bugs
mailing list