Merge pull request #2330 from mathieui/background-gc-adapter-scan Add a background thread to detect the GC adapter