RFR: 8354453: Don't strcpy in os::strdup, use memcpy instead [v3]

Kim Barrett kbarrett at openjdk.org
Mon Apr 28 14:39:04 UTC 2025


On Fri, 25 Apr 2025 12:38:09 GMT, Anton Artemov <duke at openjdk.org> wrote:

>> 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.

Still good.

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

PR Review: https://git.openjdk.org/jdk/pull/24651#pullrequestreview-2799540891


More information about the hotspot-runtime-dev mailing list