identityHashCode

external fun Any?.identityHashCode(): Int(source)

Compute stable wrt potential object relocations by the memory manager identity hash code.

Since Kotlin

1.3

Return

0 for null object, identity hash code otherwise.