Issues running jcstress on multi-core systems

Pavel Punegov pavel.punegov at oracle.com
Wed Aug 10 17:42:21 UTC 2016


Hi Andrew,

could you please provide a log of failure example or an exception that could have been thrown there? I haven’t seen any issues executing these tests. 

— Thanks,
Pavel Punegov

> On 10 Aug 2016, at 19:41, Johnson, Andy <johnsona at cboe.com> wrote:
> 
> I have recently downloaded, built and run jcstress (custom suite only, for now) on a 24-core Linux server-class system.  I am finding that several of the "interrupt" tests are failing.  However, I have discovered that the number of failures seems to be related to the number of processor cores being used during the test.  I am using "taskset" to control the number of cores used by java.
> 
> 8-cores: 0 failures (out of 817 tests)
> 12-cores: 0 failures
> 16-cores: 1 failure
> 24-cores: 5 failures
> 
> Has anyone else observed similar behaviors?  These are all run using openjdk, built from the jdk8u60 sources.
> 
> Also, the documentation for jcstress needs to be updated.  To build the most recent download of jcstress, jdk-9 is required.  The build will now fail with jdk-8.
> 
> -Andrew Johnson, consultant
> 



More information about the jcstress-dev mailing list