RFR: Shenandoah SA implementation

Zhengyu Gu zgu at redhat.com
Thu Dec 14 20:44:53 UTC 2017



On 12/14/2017 03:26 PM, Aleksey Shipilev wrote:
> On 12/14/2017 09:00 PM, Zhengyu Gu wrote:
>> Please review Shenandoah Seviceability agent implementation.
>>
>>
>> Webrev: http://cr.openjdk.java.net/~zgu/shenandoah/shenandoah-sa/webrev.00/index.html
> 
> Very good!
> 
> Minor nits:
> 
>   *) Excess fully-qualified name here in HeapSummary:
> 
>   149       } else if (heap instanceof sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap) {
Fixed.

> 
>   *) Excess leading white-space in String here in HeapSummary?
> 
>   153          System.out.println("   regions   = " + num_regions);
It aligns up, printValMB() has leading spaces.

> 
>   *) Double spaces here after "Address" in ShenandoahHeapRegionSet:
> 
>    62         Address  arrayAddr = regionsField.getValue(addr);
>    63         Address  regAddr = arrayAddr.getAddressAt(index * regionPtrFieldSize);
Fixed.

Thanks,

-Zhengyu

> 
> No need for re-review.
> 
> Thanks,
> -Aleksey
> 


More information about the shenandoah-dev mailing list