From 119c6bd97f7ac24b64eaf4e9333abb44acbf780f Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Fri, 9 May 2014 14:11:47 -0700 Subject: Fix stub_test to pass with SS collector. Changed the test to access the allocation entrypoints from the thread. Change the order roots are visited to prevent a rare error where the java lang reflect art method would move before it was checked in SanityCheckFrame. Change-Id: Ifb96220f3fbb74ea5d720777f130450f04c0e044 --- runtime/stack.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/stack.cc') diff --git a/runtime/stack.cc b/runtime/stack.cc index 5e64e59..6667419 100644 --- a/runtime/stack.cc +++ b/runtime/stack.cc @@ -270,7 +270,7 @@ instrumentation::InstrumentationStackFrame& StackVisitor::GetInstrumentationStac void StackVisitor::SanityCheckFrame() const { if (kIsDebugBuild) { mirror::ArtMethod* method = GetMethod(); - CHECK(method->GetClass() == mirror::ArtMethod::GetJavaLangReflectArtMethod()); + CHECK_EQ(method->GetClass(), mirror::ArtMethod::GetJavaLangReflectArtMethod()); if (cur_quick_frame_ != nullptr) { method->AssertPcIsWithinQuickCode(cur_quick_frame_pc_); // Frame sanity. -- cgit v1.1