1. Van Lindberg
  2. pypy

Commits

Armin Rigo  committed b661552

Move this outside the collector thread, to ensure that it is correctly
nested in a debug_print("gc-*")

  • Participants
  • Parent commits 229af04
  • Branches concurrent-marksweep

Comments (0)

Files changed (1)

File pypy/rpython/memory/gc/concurrentgen.py

View file
         if self.collector.running != 0:
             debug_start("gc-stop")
             self._stop_collection()
+            debug_print("size_still_available_before_major =",
+                        self.size_still_available_before_major)
             debug_stop("gc-stop")
             #
             # We must *not* run execute_finalizers_ll() here, because it
             sz -= intmask(surviving_size)
         #
         self.gc.size_still_available_before_major = sz
-        debug_print("size_still_available_before_major =", sz)
         #
         self.running = 2
         #debug_print("collection_running = 2")