Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/Reference/isLowPriority

isLowPriority

[jvm]\ val isLowPriority: Boolean

Low priority references are references that should be explored after any non low priority reference has been explored. This ensures that such references are not on the shortest best path if there is any other path that doesn’t include any low priority reference.

This is useful to highlight references that most likely exist due to known leaks (which means we can potentially find unknown leaks instead) as well as references which are harder to interpret for developers (such as java locals).