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

Unified Diff: src/heap.cc

Issue 25505002: Improve queuing for concurrent OSR. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/optimizing-compiler-thread.h » ('j') | src/optimizing-compiler-thread.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap.cc
diff --git a/src/heap.cc b/src/heap.cc
index 5e89bdd968c9b523c8ff3b1ceb1709c10c2ab9ad..4143db16a68360a20ca502e1d62ef5fa02d3d8a8 100644
--- a/src/heap.cc
+++ b/src/heap.cc
@@ -448,6 +448,10 @@ void Heap::GarbageCollectionPrologue() {
#endif // DEBUG
store_buffer()->GCPrologue();
+
+ if (FLAG_concurrent_osr) {
+ isolate()->optimizing_compiler_thread()->DrainOsrBuffer();
+ }
}
« no previous file with comments | « no previous file | src/optimizing-compiler-thread.h » ('j') | src/optimizing-compiler-thread.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698