Skip to content
🤔 Documentation issue? Report it

//leakcanary/shark/GcRoot/NativeStack

NativeStack

class NativeStack(val id: Long, val threadSerialNumber: Int) : GcRoot

Input or output parameters in native code

Constructors

NativeStack fun NativeStack(id: Long, threadSerialNumber: Int)

Properties

Name Summary
id open override val id: Long
The object id of the object that this gc root references.
threadSerialNumber val threadSerialNumber: Int
Corresponds to ThreadObject.threadSerialNumber Note: the corresponding thread is sometimes not found, see: https://issuetracker.google.com/issues/122713143