RFR: 8344609: Check ResourceMark nesting when allocating a GrowableArray on an alternative ResourceArea [v2]
David Holmes
dholmes at openjdk.org
Mon Dec 2 00:24:38 UTC 2024
On Wed, 27 Nov 2024 11:00:17 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).
>>
>> More testing is pending.
>
> Richard Reingruber has updated the pull request incrementally with one additional commit since the last revision:
>
> Add parentheses
Seems reasonable.
What testing did you do to see if the assert fires on existing code?
Thanks
-------------
Marked as reviewed by dholmes (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/22269#pullrequestreview-2471549274
More information about the hotspot-dev
mailing list