[Bug libstdc++/88264] Support glibc-style tunables for libstdc++

2023-12-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88264 --- Comment #7 from Jonathan Wakely --- Another tunable idea: disable exceptions from the runtime. We use _GLIBCXX_THROW_OR_ABORT so that throwing an exception will abort instead when -fno-exceptions is defined. However, this only works when the

[Bug libstdc++/88264] Support glibc-style tunables for

2022-11-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88264 --- Comment #6 from Jonathan Wakely --- This can't be done safely in libstdc++ because we can't call getenv safely. We could be dlopened while another thread is calling setenv. But if that could be solved, other useful tunables would be the file

[Bug libstdc++/88264] Support glibc-style tunables for

2022-10-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88264 --- Comment #5 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #2) > 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 > e

[Bug libstdc++/88264] Support glibc-style tunables for

2022-10-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88264 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:637e3668fdc17c4e226538fb14f9fab225433d01 commit r13-3234-g637e3668fdc17c4e226538fb14f9fab225433d01 Author: Jonathan Wakely Date:

[Bug libstdc++/88264] Support glibc-style tunables for

2019-07-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88264 --- Comment #3 from Jonathan Wakely --- Another useful tunable would be to alter the meaning of the "default" token for the std::random_device constructor: if (token == "default") { default_token = true; fname = "/dev/u

[Bug libstdc++/88264] Support glibc-style tunables for

2019-04-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88264 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/88264] Support glibc-style tunables for

2018-11-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88264 --- Comment #1 from Jonathan Wakely --- I forgot to list the growth factor for pool resource too (currently hardcoded to 2 in __pool_resource::_Pool::replenish())