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

zgu at redhat.com zgu at redhat.com
Fri Feb 8 17:09:43 UTC 2019


On Fri, 2019-02-08 at 12:02 -0500, coleen.phillimore at oracle.com wrote:
> This makes sense.  Thank you for fixing this!
> Coleen
Thanks, Coleen.

-Zhengyu


> 
> 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