← Docs
kotlin-stdlib / kotlin.native.runtime / GC / detectCycles

detectCycles

Native
1.3
fun detectCycles ( ) : Array < Any > ?
(source)
Deprecated: No-op in modern GC implementation

Deprecated and unused. Always returns null.

Legacy MM: Detect cyclic references going via atomic references and return list of cycle-inducing objects or null if the leak detector is not available. Use Platform.isMemoryLeakCheckerActive to check leak detector availability.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .