Integrated: 8344609: Check ResourceMark nesting when allocating a GrowableArray on an alternative ResourceArea
Richard Reingruber
rrich at openjdk.org
Wed Dec 4 07:29:49 UTC 2024
On Wed, 20 Nov 2024 10:01:24 GMT, Richard Reingruber <rrich at openjdk.org> wrote:
> With this change the GrowableArray nesting check is also performed if allocating from an `Arena` which in fact is a `ResourceArea`.
>
> The additional checking can help find issue as [JDK-8328085](https://bugs.openjdk.org/browse/JDK-8328085).
>
> The fix passed our nightly CI testing:
> Tier 1-4 of hotspot and jdk. All of langtools and jaxp. Renaissance Suite and SAP specific tests.
> Testing was done on the main platforms and also on Linux/PPC64le and AIX.
>
> Besides ctw tests on ppc64 (see [JDK-8328085](https://bugs.openjdk.org/browse/JDK-8328085)) the check never failed.
This pull request has now been integrated.
Changeset: 4c33caa1
Author: Richard Reingruber <rrich at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/4c33caa185ccc2f406cf2e9c4c58c3cc0a1856f8
Stats: 18 lines in 2 files changed: 17 ins; 0 del; 1 mod
8344609: Check ResourceMark nesting when allocating a GrowableArray on an alternative ResourceArea
Reviewed-by: dholmes, mdoerr
-------------
PR: https://git.openjdk.org/jdk/pull/22269
More information about the hotspot-dev
mailing list