Integrated: 8354969: Add strdup function for ResourceArea

Anton Artemov duke at openjdk.org
Tue May 20 10:23:57 UTC 2025


On Fri, 2 May 2025 09:56:32 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-4 on multiple platforms.

This pull request has now been integrated.

Changeset: 0db5511c
Author:    Anton Artemov <anton.artemov at oracle.com>
Committer: David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/0db5511ce6b0a5209af6f9a35ac993292b6b0b19
Stats:     37 lines in 8 files changed: 25 ins; 6 del; 6 mod

8354969: Add strdup function for ResourceArea

Reviewed-by: dholmes, iklam

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

PR: https://git.openjdk.org/jdk/pull/24998


More information about the hotspot-dev mailing list