RFR: 8357086: os::xxx functions returning memory size should return size_t [v4]
Anton Artemov
duke at openjdk.org
Thu Jun 12 14:13:31 UTC 2025
On Wed, 11 Jun 2025 12:23:13 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> I prefer the dedicated struct approach, as it
> provides meaningful names.
I now refactored the code to return a struct instead.
> This may have been more effort than I envisioned when creating this issue, sorry for that. I would love it if we could unify these behaviours.
I tried to address all the issues you pointed out. Now all methods return the same type, and on all platforms including Windows there is a check.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25450#issuecomment-2966983553
More information about the hotspot-dev
mailing list