RFR: JDK-8292071: NMT: move MallocHeader to its own header and inline header checks

Thomas Stuefe stuefe at openjdk.org
Thu Aug 11 05:30:42 UTC 2022


On Wed, 10 Aug 2022 06:52:48 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> MallocHeader should be moved into its own header in preparation for further NMT changes.
>> 
>> Also, malloc header check routines - that are called on every free and realloc - should be inlined.
>> 
>> This is a plain code move. The classes were not changed, apart from making some of the functions inline, and fixing includes.
>
> LGTM

Thanks @MBaesken , @RealLucy and @iklam !

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

PR: https://git.openjdk.org/jdk/pull/9801


More information about the hotspot-runtime-dev mailing list