RFR: 8340297: Use-after-free recognition for metaspace and class space [v4]
Thomas Stuefe
stuefe at openjdk.org
Tue Aug 26 06:25:37 UTC 2025
On Mon, 25 Aug 2025 05:11:07 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:
> You can use `'` as a digit separator. If that was the readability you were looking after.
>
> ```c++
> static constexpr uint32_t common_prefix = 0x3E7A'0000;
> static constexpr uint32_t common_prefix_mask = 0xFFFF'0000;
> static constexpr uint32_t instance_klass_token = 0x3E7A'0101;
> static constexpr uint32_t array_klass_token = 0x3E7A'0102;
> ```
I did not know that, thank you!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25891#discussion_r2299908021
More information about the hotspot-dev
mailing list