RFR: 8354969: Add strdup function for ResourceArea [v3]

Ioi Lam iklam at openjdk.org
Wed May 14 16:59:53 UTC 2025


On Wed, 14 May 2025 07:35:29 GMT, Anton Artemov <duke at openjdk.org> wrote:

>> Added a strdup() method, as requested by the bug reporter. The method is added to Arena, but also available in ResourceArea, as requested. A test for the method is provided. 
>> 
>> Testing: tiers 1-3 on multiple platforms.
>
> Anton Artemov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8354969: Added usecases for strdup in resource area

LGTM. Please make sure you do sufficient testing before integrating. I would suggest running up to at least tier 4, as changes of this kind sometimes can touch obscure code paths.

-------------

Marked as reviewed by iklam (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/24998#pullrequestreview-2840901600


More information about the hotspot-dev mailing list