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

Unified Diff: src/third_party/vtune/vtune-jit.cc

Issue 655183002: Update intialization of vtune support. (Closed) Base URL: https://chromium.googlesource.com/external/v8.git@bleeding_edge
Patch Set: Created 6 years, 2 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
« src/third_party/vtune/v8-vtune.h ('K') | « src/third_party/vtune/v8-vtune.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/third_party/vtune/vtune-jit.cc
diff --git a/src/third_party/vtune/vtune-jit.cc b/src/third_party/vtune/vtune-jit.cc
index e489d6e21537945504276dd9cb533c588f0db541..cc5a032f026c029be5825f4c5bf9d4edb212b1ad 100644
--- a/src/third_party/vtune/vtune-jit.cc
+++ b/src/third_party/vtune/vtune-jit.cc
@@ -277,4 +277,10 @@ void InitializeVtuneForV8(v8::Isolate::CreateParams& params) {
params.code_event_handler = vTune::internal::VTUNEJITInterface::event_handler;
}
+v8::JitCodeEventHandler GetVtuneCodeEventHandler() {
+ v8::V8::SetFlagsFromString("--nocompact_code_space",
+ (int)strlen("--nocompact_code_space"));
+ return vTune::internal::VTUNEJITInterface::event_handler;
+}
+
} // namespace vTune
« src/third_party/vtune/v8-vtune.h ('K') | « src/third_party/vtune/v8-vtune.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698