detectCycles

external 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.

Since Kotlin

1.9