RFR: 8150183: gc/g1/plab/TestPLABResize.java - previous PLAB size should be less than current

Michail Chernov michail.chernov at oracle.com
Thu Feb 25 15:31:33 UTC 2016


Hi Jon,


On 25.02.2016 17:48, Jon Masamitsu wrote:
>
>
>>
> http://cr.openjdk.java.net/~mchernov/8150183/webrev.00/test/gc/g1/plab/TestPLABResize.java.frames.html 
>
>
> New code
>
>>   123         // Check that desired plab size was changed during 
>> iterations.
>>   124         // It should decrease during first half of iterations
>>   125         // and increase after.
>
> Why does the test assume that the plab will decrease in size?
Resizing PLAB uses amount of promoted words to calculate desired PLAB 
size. Test allocates decreasing sequence of garbage between young GC to 
be promoted by PLAB. Plab size is changed during test.

Thanks
Michail




More information about the hotspot-gc-dev mailing list