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

Anton Artemov duke at openjdk.org
Wed May 14 07:35:29 UTC 2025


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24998/files
  - new: https://git.openjdk.org/jdk/pull/24998/files/777756e1..0c57dee8

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24998&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24998&range=01-02

  Stats: 28 lines in 8 files changed: 14 ins; 6 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/24998.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24998/head:pull/24998

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


More information about the hotspot-dev mailing list