RFR: 8340297: Use-after-free recognition for metaspace and class space [v5]

Casper Norrbin cnorrbin at openjdk.org
Wed Aug 20 09:10:40 UTC 2025


On Wed, 20 Aug 2025 08:54:51 GMT, Casper Norrbin <cnorrbin at openjdk.org> wrote:

>> Thomas Stuefe has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 14 commits:
>> 
>>  - feedback Caspar
>>  - Merge branch 'master' into JDK-8340297-Metaspace-API-for-checking-if-address-is-in-use
>>  - Feedback Johan
>>  - Merge branch 'openjdk:master' into JDK-8340297-Metaspace-API-for-checking-if-address-is-in-use
>>  - merge master
>>  - copyrights
>>  - fix big-endian problem on AIX
>>  - Update klass.cpp
>>  - Update metaspace.hpp
>>  - Update metaspace.hpp
>>  - ... and 4 more: https://git.openjdk.org/jdk/compare/640b71da...6cc648c7
>
> src/hotspot/share/oops/metadata.hpp line 33:
> 
>> 31: #include "utilities/ostream.hpp"
>> 32: 
>> 33: #define BUILD_32(i16_h, i16_l) ( ((unsigned)i16_h << 16) | i16_l )
> 
> Macro is unused now

Including the `#undef BUILD_32` :-)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25891#discussion_r2287506770


More information about the hotspot-dev mailing list