RFR: JDK-8326586: Improve Speed of System.map

David Holmes dholmes at openjdk.org
Tue Feb 27 06:11:44 UTC 2024


On Mon, 26 Feb 2024 14:23:08 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> In other parts of HotSpot we have been changed usages of `uintx` to instead use `size_t`.
>
>> In other parts of HotSpot we have been changed usages of `uintx` to instead use `size_t`.
> 
> Why? size_t implies memory size to me. This is not a memory size, its a counter.
> 
> (If reviewers prefer uintx, I can change it; I just want to understand the reasoning behind choosing size_t)

Why `uintx` rather than just `uint`? Is there a reason to have a variable-sized counter for this? Does it even need to be unsigned?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17984#discussion_r1503684917


More information about the hotspot-runtime-dev mailing list