(XS) RFR: 8148766: Test AvailableProcessors.java got wrong number of processors

David Holmes david.holmes at oracle.com
Tue Feb 2 10:34:17 UTC 2016

Thanks Thomas.

I'll adjust it to check for >0 as Dmitry suggested then push.


On 2/02/2016 7:32 PM, Thomas Schatzl wrote:
> Hi David,
> On Tue, 2016-02-02 at 12:15 +1000, David Holmes wrote:
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8148766
>> webrev: http://cr.openjdk.java.net/~dholmes/8148766/webrev/
>> It seems some (arguably ill-behaved) systems can use aggressive power
>> management to disable cores on the fly and at high frequency. As a
>> result even using taskset the number of processors reported as
>> available
>> to the JVM can be less than what we asked for. This small tweak to
>> the
>> test simply changes the success criteria to only see more than the
>> expected number of processors as an error.
>    looks good.
> Thomas

More information about the hotspot-runtime-dev mailing list