-XX:CMSWaitDuration=0 -XX:+ExplicitGCInvokesConcurrent can cause a deadlock because of a race between the setting of the request flag and the CMS thread going into a wait() without checking the disposition of the flag. CMSWaitDuration=0 is a potential (interim) workaround of sorts for (some instances of) 6412868.
|