Lines Matching defs:instance_
48 ProfileSaver* ProfileSaver::instance_ = nullptr;
155 if (instance_ == nullptr || instance_->shutting_down_) {
158 instance_->NotifyJitActivityInternal();
410 if (instance_ != nullptr) {
414 DCHECK_EQ(instance_->jit_code_cache_, jit_code_cache);
416 instance_->AddTrackedLocations(output_filename, app_data_dir, code_paths_to_profile);
423 instance_ = new ProfileSaver(output_filename,
432 (&profiler_pthread_, nullptr, &RunProfileSaverThread, reinterpret_cast<void*>(instance_)),
443 profile_saver = instance_;
445 if (instance_ == nullptr) {
449 if (instance_->shutting_down_) {
453 instance_->shutting_down_ = true;
455 instance_->DumpInfo(LOG(INFO));
470 instance_ = nullptr;
483 return instance_ != nullptr;
514 if (instance_ == nullptr) {
518 for (const auto& it : instance_->tracked_dex_base_locations_) {
521 foreign_dex_profile_path = instance_->foreign_dex_profile_path_;
522 app_data_dirs.insert(instance_->app_data_dirs_.begin(), instance_->app_data_dirs_.end());
531 if (instance_ != nullptr) {
532 instance_->total_number_of_foreign_dex_marks_++;
637 if (instance_ != nullptr) {
638 instance_->DumpInfo(os);
664 saver = instance_;
666 // TODO(calin): this is not actually thread safe as the instance_ may have been deleted,
679 if (instance_ != nullptr) {
680 ProfileCompilationInfo* info = instance_->GetCachedProfiledInfo(profile);