RFR(S) 8200109: NMT: diff_malloc_site assert(early->flags() == current->flags(), "Must be the same memory type")

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Fri Feb 8 17:02:55 UTC 2019


This makes sense.  Thank you for fixing this!
Coleen

On 2/7/19 3:15 PM, zgu at redhat.com wrote:
> There is possibility that all allocations from particular site are
> freed, then have some allocations from the same site for another memory
> type.
>
> As indicated in bug report, this likely happens to some common utility
> classes (e.g. GrowableArray), which have long calling chain leading to
> allocation site.
>   
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8200109
> Webrev: http://cr.openjdk.java.net/~zgu/JDK-8200109/webrev.00/
>
> Test:
>
>    hotspot_nmt on Linux x64 (fastdebug and release)
>    All passed except except
>    runtime/NMT/CheckForProperDetailStackTrace.java (JDK-8218458) with
>    release build
>
> Thanks,
>
> -Zhengyu
>



More information about the hotspot-runtime-dev mailing list