diff options
| author | 2022-12-08 13:52:00 +0000 | |
|---|---|---|
| committer | 2022-12-08 13:52:00 +0000 | |
| commit | 50bf901b19ccbd0f2759b09a11b4f27e61ac0c02 (patch) | |
| tree | 445d74cae806f32c99e9286725c9102041427154 /runtime/thread.cc | |
| parent | fe85442aa7e04c39f76854b7ddfb358360b423ed (diff) | |
| parent | 849d09a81907f16d8ccc6019b8baf86a304b730c (diff) | |
Split local reference table out of `IndirectReferenceTable`. am: 849d09a819
Original change: https://android-review.googlesource.com/c/platform/art/+/2309329
Change-Id: I391aa1f8d8cafa0785c4ff3944f7d4e7875fd958
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'runtime/thread.cc')
| -rw-r--r-- | runtime/thread.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/thread.cc b/runtime/thread.cc index a8b0e17c69..751bd09e24 100644 --- a/runtime/thread.cc +++ b/runtime/thread.cc @@ -2768,9 +2768,9 @@ ObjPtr<mirror::Object> Thread::DecodeJObject(jobject obj) const { bool expect_null = false; // The "kinds" below are sorted by the frequency we expect to encounter them. if (kind == kLocal) { - IndirectReferenceTable& locals = tlsPtr_.jni_env->locals_; + jni::LocalReferenceTable& locals = tlsPtr_.jni_env->locals_; // Local references do not need a read barrier. - result = locals.Get<kWithoutReadBarrier>(ref); + result = locals.Get(ref); } else if (kind == kJniTransition) { // The `jclass` for a static method points to the CompressedReference<> in the // `ArtMethod::declaring_class_`. Other `jobject` arguments point to spilled stack |