runtime/containers/docker/TestCPUAwareness.java typo of printing parameters (period should be shares)

David Holmes david.holmes at oracle.com
Fri Feb 15 09:08:28 UTC 2019


Hi,

On 15/02/2019 6:54 pm, Wang Haomin wrote:
> Thanks. Would anyone sponsor me to push it?

I can review and sponsor for you.

Cheers,
David

> 
> 在 2019年02月15日 15:10, Igor Ignatyev 写道:
>> Hi Wang Haomin,
>>
>> looks good and trivial.
>>
>> -- Igor
>>
>>> On Feb 14, 2019, at 10:53 PM, Wang Haomin <wanghaomin at loongson.cn> 
>>> wrote:
>>>
>>> Hi,
>>>
>>> bug: https://bugs.openjdk.java.net/browse/JDK-8219074
>>>
>>> It's just a typo. Want to print shares, but print period.
>>>
>>> diff -r f940579715a5 
>>> test/hotspot/jtreg/runtime/containers/docker/TestCPUAwareness.java
>>> --- 
>>> a/test/hotspot/jtreg/runtime/containers/docker/TestCPUAwareness.java    
>>> Thu Feb 14 15:27:46 2019 -0800
>>> +++ 
>>> b/test/hotspot/jtreg/runtime/containers/docker/TestCPUAwareness.java    
>>> Fri Feb 15 10:27:59 2019 +0800
>>> @@ -175,7 +175,7 @@
>>>          System.out.println("cpuset = " + cpuset);
>>>          System.out.println("quota = " + quota);
>>>          System.out.println("period = " + period);
>>> -        System.out.println("shares = " + period);
>>> +        System.out.println("shares = " + shares);
>>>          System.out.println("usePreferContainerQuotaForCPUCount = " + 
>>> usePreferContainerQuotaForCPUCount);
>>>          System.out.println("expectedAPC = " + expectedAPC);
>>>
>>> Thanks,
>>> Wang Haomin
>>>
>>>
> 
> 


More information about the hotspot-runtime-dev mailing list