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

Side by Side Diff: src/execution.cc

Issue 23902033: Add mutex when accessing concurrent recompilation output queue. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comment Created 7 years, 3 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 | « no previous file | src/optimizing-compiler-thread.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after
945 if (stack_guard->IsInterrupted()) { 945 if (stack_guard->IsInterrupted()) {
946 stack_guard->Continue(INTERRUPT); 946 stack_guard->Continue(INTERRUPT);
947 return isolate->StackOverflow(); 947 return isolate->StackOverflow();
948 } 948 }
949 if (stack_guard->IsFullDeopt()) { 949 if (stack_guard->IsFullDeopt()) {
950 stack_guard->Continue(FULL_DEOPT); 950 stack_guard->Continue(FULL_DEOPT);
951 Deoptimizer::DeoptimizeAll(isolate); 951 Deoptimizer::DeoptimizeAll(isolate);
952 } 952 }
953 if (stack_guard->IsInstallCodeRequest()) { 953 if (stack_guard->IsInstallCodeRequest()) {
954 ASSERT(FLAG_concurrent_recompilation); 954 ASSERT(FLAG_concurrent_recompilation);
955 stack_guard->Continue(INSTALL_CODE); 955 isolate_->stack_guard()->Continue(INSTALL_CODE);
956 isolate->optimizing_compiler_thread()->InstallOptimizedFunctions(); 956 isolate->optimizing_compiler_thread()->InstallOptimizedFunctions();
957 } 957 }
958 isolate->runtime_profiler()->OptimizeNow(); 958 isolate->runtime_profiler()->OptimizeNow();
959 return isolate->heap()->undefined_value(); 959 return isolate->heap()->undefined_value();
960 } 960 }
961 961
962 962
963 } } // namespace v8::internal 963 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/optimizing-compiler-thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698