[concurrency-interest] Suspecting a problem in recent jdk-9 builds

Antoine Tissier ati at activeviam.com
Wed Dec 28 04:30:01 EST 2016


We have been running benchmarks for our in-memory analytics software
ActivePivot on a M6.32 machine (Solaris Sparc, 8 TB RAM, 2304 logical cores
(288 physical cores)).
Our benchmarks involve high parallelism along with many queries divided in
a high number of tasks (CountedCompleters) in the ForkJoinPool. With build
145 of jdk-9, some tasks are not executed, causing larger completion
problems. However, with the earlier build 111, the problem does not occur.

On a smaller Linux machine (Linux amd 64, 64 logical cores (32 physical
cores), 512 GB RAM) but with a similar setup, the problem was not

The problem seems to arise when a large number of completers (>20 000) are
involved: forking tasks works well but when submitting tasks to a new pool,
it seems that their compute method is sometimes not called.
We indeed log every call to ForkJoinPool.submit, as well as everytime a
completer enters its compute method, and clearly see that once in a while,
the task is never computed after having been submitted. We let the system
run for an additional hour, and there was no more progress even though the
system was idle. Thread dumps did not show any suspect activity (all worker
threads were idle).

We tried to reproduce the problem with a similar but more simple test, but
it was not successful.

Are you aware of any concurrency/task completion problems in the more
recent builds of jdk-9 ?
Are there any additional tests that we could run in order to diagnose this
issue ?

Best regards,

[image: ActiveViam]

46 rue de l'Arbre Sec, 75001 Paris
[image: Twitter] <https://twitter.com/active_viam> [image: Blog]
<http://activeviam.com/blog/> [image: Linkedin]
<https://www.linkedin.com/company/85029> [image: Youtube]
<https://www.youtube.com/channel/UCGjYnbjlPamN0RvSm3eGqCw> Antoine Tissier
*Junior Software Engineer*

[image: Mobile]+33(0) <+33%206%2026%2033%2035%2062>
[image: Skype]antoine_tissier
[image: Website]www.activeviam.com <https://activeviam.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20161228/f21af1c9/attachment.html>

More information about the Concurrency-interest mailing list