Looks good, minus the extra @test tag. /Staffan
On 30 okt 2013, at 15:45, Erik Gahlin <erik.gah...@oracle.com> wrote: > Could I have a review of this intermittently failing test. > > There is a race between a thread being created and the request to get its CPU > time. The "/proc/..." structure might not be ready at that time and the > routine will return -1. > > Fix is to spin in test until we get a CPU time that is not -1. I also added > types for Map to avoid warnings. > > Thanks > Erik > > Bug: > https://bugs.openjdk.java.net/browse/JDK-6849945 > > Webrev: > http://cr.openjdk.java.net/~egahlin/6849945_1/ > >