RFR: 8354453: Don't strcpy in os::strdup, use memcpy instead [v3]
Anton Artemov
duke at openjdk.org
Fri Apr 25 12:38:09 UTC 2025
> Use memcpy instead of strcpy in os::strdup, 1 string pass fewer.
>
> Tested in tiers 1-3, all tests pass.
Anton Artemov has updated the pull request incrementally with one additional commit since the last revision:
8354453: Addressed the reviewer's comments.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24651/files
- new: https://git.openjdk.org/jdk/pull/24651/files/80f2a7ea..d24da890
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24651&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24651&range=01-02
Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/24651.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24651/head:pull/24651
PR: https://git.openjdk.org/jdk/pull/24651
More information about the hotspot-runtime-dev
mailing list