Home | History | Annotate | Download | only in src

Lines Matching refs:Isolate

175   Isolate* isolate = Isolate::Current();
176 sample->state = isolate->current_vm_state();
178 for (StackTraceFrameIterator it(isolate);
263 ASSERT(Isolate::Current()->cpu_profiler() != NULL);
264 Isolate::Current()->cpu_profiler()->StartCollectingProfile(title);
269 ASSERT(Isolate::Current()->cpu_profiler() != NULL);
270 Isolate::Current()->cpu_profiler()->StartCollectingProfile(title);
275 Isolate* isolate = Isolate::Current();
276 return is_profiling(isolate) ?
277 isolate->cpu_profiler()->StopCollectingProfile(title) : NULL;
282 Isolate* isolate = Isolate::Current();
283 return is_profiling(isolate) ?
284 isolate->cpu_profiler()->StopCollectingProfile(
290 ASSERT(Isolate::Current()->cpu_profiler() != NULL);
292 return Isolate::Current()->cpu_profiler()->profiles_->Profiles(
298 ASSERT(Isolate::Current()->cpu_profiler() != NULL);
299 CpuProfiler* profiler = Isolate::Current()->cpu_profiler();
306 ASSERT(Isolate::Current()->cpu_profiler() != NULL);
307 CpuProfiler* profiler = Isolate::Current()->cpu_profiler();
313 TickSample* CpuProfiler::TickSampleEvent(Isolate* isolate) {
314 if (CpuProfiler::is_profiling(isolate)) {
315 return isolate->cpu_profiler()->processor_->TickSampleEvent();
323 Isolate* isolate = Isolate::Current();
324 ASSERT(isolate->cpu_profiler() != NULL);
325 if (is_profiling(isolate)) {
326 isolate->cpu_profiler()->StopProcessor();
328 isolate->cpu_profiler()->ResetProfiles();
333 ASSERT(Isolate::Current()->cpu_profiler() != NULL);
334 Isolate::Current()->cpu_profiler()->profiles_->RemoveProfile(profile);
340 ASSERT(Isolate::Current()->cpu_profiler() != NULL);
341 return Isolate::Current()->cpu_profiler()->profiles_->HasDetachedProfiles();
346 Isolate::Current()->cpu_profiler()->processor_->CallbackCreateEvent(
353 Isolate::Current()->cpu_profiler()->processor_->CodeCreateEvent(
360 Isolate* isolate = Isolate::Current();
361 isolate->cpu_profiler()->processor_->CodeCreateEvent(
364 isolate->heap()->empty_string(),
376 Isolate* isolate = Isolate::Current();
377 isolate->cpu_profiler()->processor_->CodeCreateEvent(
380 isolate->heap()->empty_string(),
392 Isolate::Current()->cpu_profiler()->processor_->CodeCreateEvent(
405 Isolate::Current()->cpu_profiler()->processor_->CodeCreateEvent(
414 Isolate::Current()->cpu_profiler()->processor_->CodeMoveEvent(from, to);
423 CpuProfiler* profiler = Isolate::Current()->cpu_profiler();
429 Isolate::Current()->cpu_profiler()->processor_->CallbackCreateEvent(
435 Isolate::Current()->cpu_profiler()->processor_->RegExpCodeCreateEvent(
445 Isolate::Current()->cpu_profiler()->processor_->CallbackCreateEvent(
487 Isolate* isolate = Isolate::Current();
490 saved_logging_nesting_ = isolate->logger()->logging_nesting_;
491 isolate->logger()->logging_nesting_ = 0;
497 if (isolate->heap()->HasBeenSetUp()) {
501 isolate->logger()->LogCodeObjects();
504 isolate->logger()->LogCompiledFunctions();
505 isolate->logger()->LogAccessorCallbacks();
508 Sampler* sampler = reinterpret_cast<Sampler*>(isolate->logger()->ticker_);
548 Logger* logger = Isolate::Current()->logger();
567 Isolate* isolate = Isolate::Current();
568 if (isolate->cpu_profiler() == NULL) {
569 isolate->set_cpu_profiler(new CpuProfiler());
575 Isolate* isolate = Isolate::Current();
576 if (isolate->cpu_profiler() != NULL) {
577 delete isolate->cpu_profiler();
579 isolate->set_cpu_profiler(NULL);