Fix wrong thread id being passed to SIRT roots.
Fixes jhat on hprof dumps.
Change-Id: I1a71eb3370606129fb5cf791ab582f34052a9f35
diff --git a/runtime/thread.h b/runtime/thread.h
index daffc92..a3a77bb 100644
--- a/runtime/thread.h
+++ b/runtime/thread.h
@@ -503,7 +503,7 @@
// Is the given obj in this thread's stack indirect reference table?
bool SirtContains(jobject obj) const;
- void SirtVisitRoots(RootCallback* visitor, void* arg)
+ void SirtVisitRoots(RootCallback* visitor, void* arg, uint32_t thread_id)
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
void PushSirt(StackIndirectReferenceTable* sirt) {