From bf9fc581e8870faddbd320a935f9a627da724c48 Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Fri, 13 Mar 2015 17:21:25 -0700 Subject: Add more info to who called SuspendAll Helps diagnose related jank. Change-Id: I38191cdda723c6f0355d0197c494a3dff2b6653c --- compiler/driver/compiler_driver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/driver/compiler_driver.cc') diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index be6c41a834..3d3d5cbc2a 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -932,7 +932,7 @@ void CompilerDriver::UpdateImageClasses(TimingLogger* timings) { Runtime* current = Runtime::Current(); // Suspend all threads. - current->GetThreadList()->SuspendAll(); + current->GetThreadList()->SuspendAll(__FUNCTION__); std::string error_msg; std::unique_ptr update(ClinitImageUpdate::Create(image_classes_.get(), -- cgit v1.2.3-59-g8ed1b