RFR: JDK-8155730: HeapInfoDCmd should get Heap_lock

Yasumasa Suenaga yasuenag at gmail.com
Mon May 9 12:20:44 UTC 2016


Hi all,

I've sent review request for JDK-8155730.
However, I found caller of Universe::heap()->print_*() in vmError.cpp .
Thus I added MutexLocker(Ex) for Heap_lock to VMError::report() and VMError::print_vm_info().

Could you review again?

   http://cr.openjdk.java.net/~ysuenaga/JDK-8155730/webrev.01/


> This needs to be reviewed by the GC folk not runtime. Please direct followups to hotspot-gc-dev.

Thanks, David!


Yasumasa


On 2016/05/06 13:11, David Holmes wrote:
> Hi Yasumasa,
>
> This needs to be reviewed by the GC folk not runtime. Please direct followups to hotspot-gc-dev.
>
> Thanks,
> David
>
> On 30/04/2016 12:05 AM, Yasumasa Suenaga wrote:
>> Hi all,
>>
>> This review request is related to [1].
>>
>> HeapInfoDCmd calls CollectedHeap::print_on().
>> However, its call does not get Heap_lock.
>>
>> Heap_lock should be gotten from all heap operations.
>>
>> I uploaded webrev for this issue.
>> Could you review it?
>>
>>   http://cr.openjdk.java.net/~ysuenaga/JDK-8155730/webrev.00/
>>
>> I cannot access JPRT.
>> So I need a sponsor.
>>
>>
>> Thanks,
>>
>> Yasumasa
>>
>>
>> [1]
>> http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2016-April/019257.html
>>
>>


More information about the hotspot-runtime-dev mailing list