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

Thomas Schatzl thomas.schatzl at oracle.com
Tue Feb 2 09:32:55 UTC 2016


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