RFR: 8360515: PROPERFMTARGS should always use size_t template specialization for unit [v5]

Joel Sikström jsikstro at openjdk.org
Mon Jul 28 14:39:56 UTC 2025


On Mon, 28 Jul 2025 14:15:11 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Why is the cast needed, now?

It isn't strictly needed, but IMO is better than implicitly converting from the underlying types (mach_vm_size_t, which is uint64_t) to size_t. vm.page_size must be converted from its original int to size_t explicitly.

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

PR Comment: https://git.openjdk.org/jdk/pull/25975#issuecomment-3127539841


More information about the hotspot-dev mailing list