From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 56F143858401; Tue, 11 Oct 2022 15:26:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 56F143858401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665502012; bh=nsPJCLif5kJJgG5wnoGwHmoDglWrkLFqcGsgT/oKzk4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=L9hTTRdMLvyt53AKGrubkJA/CuiZ/dkUKVgfy44F17ltIqIuEVdtq55LI5Ku2Ppl0 vU6OjJVdoVTca8VwqMaxKtUFf4VrvT2t9VJviw2qdJgvxy+D4a61u0yDyg0jzu3NTy LtqJ5SB47799fSvBSmoIGa7yDfIT5w2df5KiWOOE= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88264] Support glibc-style tunables for Date: Tue, 11 Oct 2022 15:26:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88264 --- Comment #5 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #2) > The emergency EH pool size should be tunable too. >=20 > From libsupc++/eh_alloc.cc: >=20 > // Allocate the arena - we could add a GLIBCXX_EH_ARENA_SIZE > environment > // to make this tunable. > arena_size =3D (EMERGENCY_OBJ_SIZE * EMERGENCY_OBJ_COUNT > + EMERGENCY_OBJ_COUNT * sizeof (__cxa_dependent_exception)); > arena =3D (char *)malloc (arena_size); Done for PR 68606.=