RFR: 8062870: src/share/vm/services/mallocTracker.hpp:64 assert(_count > 0) failed: Negative ,counter

Coleen Phillimore coleen.phillimore at oracle.com
Mon Nov 10 23:00:02 UTC 2014


Hi George,
Thanks for the review.  I didn't know there was another test that I 
needed to remove @ignore.  I've run this test for a couple hours in a 
loop and it always passes now.  The other bug number was the bug that 
Christian fixed.

open webrev at http://cr.openjdk.java.net/~coleenp/8062870_2/

Thanks,
Coleen

On 11/10/14, 12:44 PM, George Triantafillou wrote:
> Hi Coleen,
>
> This looks good.  Thanks for fixing this.
>
> -George
>
> On 11/10/2014 12:21 PM, Coleen Phillimore wrote:
>> Summary: Signed bitfield size y can only have (1 << y)-1 values.
>>
>> We were overflowing the the _pos index and reusing the 0th element in 
>> the MallocSiteTable for two different stack traces which caused the 
>> assert for deallocation.
>>
>> Tested with nsk.quick.testlist and jtreg runtime tests with 
>> -XX:NativeMemoryTracking=detail.
>>
>> open webrev at http://cr.openjdk.java.net/~coleenp/8062870/
>> bug link https://bugs.openjdk.java.net/browse/JDK-8062870
>>
>> Thanks,
>> Coleen
>



More information about the hotspot-runtime-dev mailing list