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

Unified Diff: src/d8.cc

Issue 11574031: Intel VTune integration for V8/D8 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 10 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
Index: src/d8.cc
===================================================================
--- src/d8.cc (revision 13696)
+++ src/d8.cc (working copy)
@@ -45,6 +45,10 @@
#include "../include/v8-testing.h"
#endif // V8_SHARED
+#ifdef ENABLE_VTUNE_JIT_INTERFACE
+#include "third_party/vtune/vtune-jit.h"
+#endif
+
#include "d8.h"
#ifndef V8_SHARED
@@ -1905,6 +1909,11 @@
DumbLineEditor dumb_line_editor(isolate);
{
Initialize(isolate);
+#ifdef ENABLE_VTUNE_JIT_INTERFACE
+ V8::SetFlagsFromString("--nocompact_code_space",
+ i::StrLength("--nocompact_code_space"));
danno 2013/02/25 20:25:38 Can you please move this call into v8::VTuneInitia
+ v8::VTuneInitilizer::initilizeVtune();
danno 2013/02/25 20:25:38 Spelling: Initializer. Please capitalize all metho
+#endif
Symbols symbols(isolate);
InitializeDebugger(isolate);

Powered by Google App Engine
This is Rietveld 408576698