commit 991e1433dfd3295645141a21b26d5183ed255d02 Author: Nathaniel Catchpole Date: Fri Oct 30 17:41:12 2015 +0000 Issue #2603152 by alexpott, Fabianx, neclimdul: Fix PHP 7 testbot failures diff --git b/core/lib/Drupal/Core/DrupalKernel.php a/core/lib/Drupal/Core/DrupalKernel.php index fdb3d86..0c16cb3 100644 --- b/core/lib/Drupal/Core/DrupalKernel.php +++ a/core/lib/Drupal/Core/DrupalKernel.php @@ -821,13 +821,6 @@ protected function initializeContainer() { // If there is no container and no cached container definition, build a new // one from scratch. if (!isset($container) && !isset($container_definition)) { - if (version_compare(phpversion(), '7.0.0-dev') >= 0) { - // The service graph implementation is prone to corruption during GC. - // Collect cycles now then disable the GC for the time of the compiler - // run. - // @see https://bugs.php.net/bug.php?id=70805 - gc_collect_cycles(); - } $container = $this->compileContainer(); // Only dump the container if dumping is allowed. This is useful for