diff options
author | Mathieu Chartier <mathieuc@google.com> | 2015-03-13 17:21:25 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2015-03-13 17:32:48 -0700 |
commit | bf9fc581e8870faddbd320a935f9a627da724c48 (patch) | |
tree | 0a4a6c21fbd4c771b06fac186d32efa6722605b2 /compiler/driver/compiler_driver.cc | |
parent | 3d96846b6adedf57be64eb3873de0ca58ec4b827 (diff) | |
download | android_art-bf9fc581e8870faddbd320a935f9a627da724c48.tar.gz android_art-bf9fc581e8870faddbd320a935f9a627da724c48.tar.bz2 android_art-bf9fc581e8870faddbd320a935f9a627da724c48.zip |
Add more info to who called SuspendAll
Helps diagnose related jank.
Change-Id: I38191cdda723c6f0355d0197c494a3dff2b6653c
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r-- | compiler/driver/compiler_driver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<ClinitImageUpdate> update(ClinitImageUpdate::Create(image_classes_.get(), |