Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Side by Side Diff: src/execution.cc

Issue 296413004: Remove high promotion mode. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/execution.h ('k') | src/heap.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "execution.h" 5 #include "execution.h"
6 6
7 #include "bootstrapper.h" 7 #include "bootstrapper.h"
8 #include "codegen.h" 8 #include "codegen.h"
9 #include "deoptimizer.h" 9 #include "deoptimizer.h"
10 #include "isolate-inl.h" 10 #include "isolate-inl.h"
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 } 722 }
723 723
724 if (CheckDebugBreak() || CheckDebugCommand()) { 724 if (CheckDebugBreak() || CheckDebugCommand()) {
725 Execution::DebugBreakHelper(isolate_); 725 Execution::DebugBreakHelper(isolate_);
726 } 726 }
727 727
728 if (CheckAndClearInterrupt(TERMINATE_EXECUTION, access)) { 728 if (CheckAndClearInterrupt(TERMINATE_EXECUTION, access)) {
729 return isolate_->TerminateExecution(); 729 return isolate_->TerminateExecution();
730 } 730 }
731 731
732 if (CheckAndClearInterrupt(FULL_DEOPT, access)) {
733 Deoptimizer::DeoptimizeAll(isolate_);
734 }
735
736 if (CheckAndClearInterrupt(DEOPT_MARKED_ALLOCATION_SITES, access)) { 732 if (CheckAndClearInterrupt(DEOPT_MARKED_ALLOCATION_SITES, access)) {
737 isolate_->heap()->DeoptMarkedAllocationSites(); 733 isolate_->heap()->DeoptMarkedAllocationSites();
738 } 734 }
739 735
740 if (CheckAndClearInterrupt(INSTALL_CODE, access)) { 736 if (CheckAndClearInterrupt(INSTALL_CODE, access)) {
741 ASSERT(isolate_->concurrent_recompilation_enabled()); 737 ASSERT(isolate_->concurrent_recompilation_enabled());
742 isolate_->optimizing_compiler_thread()->InstallOptimizedFunctions(); 738 isolate_->optimizing_compiler_thread()->InstallOptimizedFunctions();
743 } 739 }
744 740
745 has_api_interrupt = CheckAndClearInterrupt(API_INTERRUPT, access); 741 has_api_interrupt = CheckAndClearInterrupt(API_INTERRUPT, access);
746 742
747 isolate_->counters()->stack_interrupts()->Increment(); 743 isolate_->counters()->stack_interrupts()->Increment();
748 isolate_->counters()->runtime_profiler_ticks()->Increment(); 744 isolate_->counters()->runtime_profiler_ticks()->Increment();
749 isolate_->runtime_profiler()->OptimizeNow(); 745 isolate_->runtime_profiler()->OptimizeNow();
750 } 746 }
751 747
752 if (has_api_interrupt) { 748 if (has_api_interrupt) {
753 // Callback must be invoked outside of ExecusionAccess lock. 749 // Callback must be invoked outside of ExecusionAccess lock.
754 isolate_->InvokeApiInterruptCallback(); 750 isolate_->InvokeApiInterruptCallback();
755 } 751 }
756 752
757 return isolate_->heap()->undefined_value(); 753 return isolate_->heap()->undefined_value();
758 } 754 }
759 755
760 } } // namespace v8::internal 756 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/execution.h ('k') | src/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698