Potential bug in hotspot occasionally resulting in non-termination of parallel stream execution

Paul Sandoz paul.sandoz at oracle.com
Thu Apr 23 07:45:08 UTC 2015


Hi Dan,

On Apr 22, 2015, at 10:43 PM, "Daniel D. Daugherty" <daniel.daugherty at oracle.com> wrote:

> Paul,
> 
> Thanks for letting me know about this potential issue with JDK-8061553.
> 
> Is there an open JBS for this issue?

See:

  https://bugs.openjdk.java.net/browse/JDK-8077392


> If not can you file one with
> a reproducible test case and some instructions on how to run it?

See Amy's email on this thread for details. It does not appear hard to reproduce but it is time consuming to do so. It takes many executions of a parallel stream pipeline for a failure to be observed. So far i have tried and failed to reproduce reliably with a simpler test case that runs in a shorter time frame. 

Alexey suggests two things:

1) running the tests with a fast debug build and see if an assert fails; and

2) developing some jcstress test for wait/notify.

Paul.




More information about the hotspot-runtime-dev mailing list