OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/execution.h" | 5 #include "src/execution.h" |
6 | 6 |
7 #include "src/bootstrapper.h" | 7 #include "src/bootstrapper.h" |
8 #include "src/codegen.h" | 8 #include "src/codegen.h" |
9 #include "src/deoptimizer.h" | 9 #include "src/deoptimizer.h" |
10 #include "src/isolate-inl.h" | 10 #include "src/isolate-inl.h" |
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
700 if (CheckAndClearInterrupt(DEOPT_MARKED_ALLOCATION_SITES)) { | 700 if (CheckAndClearInterrupt(DEOPT_MARKED_ALLOCATION_SITES)) { |
701 isolate_->heap()->DeoptMarkedAllocationSites(); | 701 isolate_->heap()->DeoptMarkedAllocationSites(); |
702 } | 702 } |
703 | 703 |
704 if (CheckAndClearInterrupt(INSTALL_CODE)) { | 704 if (CheckAndClearInterrupt(INSTALL_CODE)) { |
705 DCHECK(isolate_->concurrent_recompilation_enabled()); | 705 DCHECK(isolate_->concurrent_recompilation_enabled()); |
706 isolate_->optimizing_compiler_thread()->InstallOptimizedFunctions(); | 706 isolate_->optimizing_compiler_thread()->InstallOptimizedFunctions(); |
707 } | 707 } |
708 | 708 |
709 if (CheckAndClearInterrupt(API_INTERRUPT)) { | 709 if (CheckAndClearInterrupt(API_INTERRUPT)) { |
710 // Callback must be invoked outside of ExecusionAccess lock. | 710 // Callbacks must be invoked outside of ExecusionAccess lock. |
711 isolate_->InvokeApiInterruptCallback(); | 711 isolate_->InvokeApiInterruptCallbacks(); |
712 } | 712 } |
713 | 713 |
714 isolate_->counters()->stack_interrupts()->Increment(); | 714 isolate_->counters()->stack_interrupts()->Increment(); |
715 isolate_->counters()->runtime_profiler_ticks()->Increment(); | 715 isolate_->counters()->runtime_profiler_ticks()->Increment(); |
716 isolate_->runtime_profiler()->OptimizeNow(); | 716 isolate_->runtime_profiler()->OptimizeNow(); |
717 | 717 |
718 return isolate_->heap()->undefined_value(); | 718 return isolate_->heap()->undefined_value(); |
719 } | 719 } |
720 | 720 |
721 } } // namespace v8::internal | 721 } } // namespace v8::internal |
OLD | NEW |