From 070e3b0af4a4f2fbdc366726692bd4dbfc118b6a Mon Sep 17 00:00:00 2001 From: "yangguo@chromium.org" Date: Wed, 4 Sep 2013 12:55:59 +0000 Subject: [PATCH] Introduce concurrent on-stack replacement. Currently disabled behind --concurrent-osr. R=titzer@chromium.org BUG= Review URL: https://codereview.chromium.org/23710014 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16527 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/compiler.cc | 220 +++++++++++++++++++-- src/compiler.h | 20 +- src/deoptimizer.cc | 48 +++-- src/deoptimizer.h | 2 +- src/flag-definitions.h | 2 + src/full-codegen.h | 4 +- src/objects.cc | 15 +- src/objects.h | 2 + src/optimizing-compiler-thread.cc | 75 ++++++- src/optimizing-compiler-thread.h | 29 ++- src/platform/mutex.h | 3 +- src/runtime-profiler.cc | 4 +- src/runtime.cc | 103 ++-------- test/mjsunit/compiler/optimized-for-in.js | 1 + test/mjsunit/regress/regress-map-invalidation-2.js | 2 + 15 files changed, 380 insertions(+), 150 deletions(-) diff --git a/src/compiler.cc b/src/compiler.cc index bc65b1f..ec35cc9 100644 --- a/src/compiler.cc +++ b/src/compiler.cc @@ -58,7 +58,8 @@ CompilationInfo::CompilationInfo(Handle