Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/GcRoot/ThreadObject

ThreadObject

[jvm]\ class ThreadObject(val id: Long, val threadSerialNumber: Int, val stackTraceSerialNumber: Int) : GcRoot

A thread.

Added at https://android.googlesource.com/platform/tools/base/+/c0f0d528c155cab32e372dac77370569a386245c

Constructors

ThreadObject [jvm]
constructor(id: Long, threadSerialNumber: Int, stackTraceSerialNumber: Int)

Properties

Name Summary
id [jvm]
open override val id: Long
The object id of the object that this gc root references.
stackTraceSerialNumber [jvm]
val stackTraceSerialNumber: Int
threadSerialNumber [jvm]
val threadSerialNumber: Int