RFR: 8301564: Non-C-heap allocated ResourceHashtable keys and values must have trivial destructor [v2]

Ioi Lam iklam at openjdk.org
Thu Feb 2 05:14:47 UTC 2023


On Wed, 1 Feb 2023 19:38:38 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   @coleenp comments - use mtStatistics instead
>
> src/hotspot/share/classfile/classLoaderStats.hpp line 115:
> 
>> 113: 
>> 114:   typedef ResourceHashtable<oop, ClassLoaderStats,
>> 115:                             256, AnyObj::C_HEAP, mtInternal,
> 
> There's an mtStatistics NMT category, can you use that for this? and the instance below?

Fixed.

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

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


More information about the hotspot-dev mailing list