Skip to content
🤔 Documentation issue? Report it

//leakcanary/shark/GcRoot/JniLocal

JniLocal

class JniLocal(val id: Long, val threadSerialNumber: Int, val frameNumber: Int) : GcRoot

A local variable in native code.

Constructors

JniLocal fun JniLocal(id: Long, threadSerialNumber: Int, frameNumber: Int)

Properties

Name Summary
frameNumber val frameNumber: Int
frame number in stack trace (-1 for empty)
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