< prev index next >
src/share/vm/compiler/compileBroker.cpp
Print this page
*** 24,33 ****
--- 24,34 ----
#include "precompiled.hpp"
#include "classfile/systemDictionary.hpp"
#include "classfile/vmSymbols.hpp"
#include "code/codeCache.hpp"
+ #include "code/dependencies.hpp"
#include "compiler/compileBroker.hpp"
#include "compiler/compileLog.hpp"
#include "compiler/compilerOracle.hpp"
#include "interpreter/linkResolver.hpp"
#include "memory/allocation.inline.hpp"
*** 968,977 ****
--- 969,998 ----
_perf_last_invalidated_type =
PerfDataManager::create_variable(SUN_CI, "lastInvalidatedType",
PerfData::U_None,
(jlong)CompileBroker::no_compile,
CHECK);
+
+ Dependencies::_perf_dependency_checking_time =
+ PerfDataManager::create_counter(SUN_CI, "NMethodDependenciesCheckingTime",
+ PerfData::U_Ticks, CHECK);
+
+ Dependencies::_perf_dependencies_checked_count =
+ PerfDataManager::create_counter(SUN_CI, "NMethodDependenciesCheckedCount",
+ PerfData::U_Events, CHECK);
+
+ Dependencies::_perf_dependencies_invalidated =
+ PerfDataManager::create_counter(SUN_CI, "NMethodDependenciesInvalidated",
+ PerfData::U_Events, CHECK);
+
+ Dependencies::_perf_dependencies_total_count =
+ PerfDataManager::create_counter(SUN_CI, "NMethodDependenciesTotalCount",
+ PerfData::U_Events, CHECK);
+
+ Dependencies::_perf_dependencies_context_traversals =
+ PerfDataManager::create_counter(SUN_CI, "NMethodDependenciesContextTraversals",
+ PerfData::U_Events, CHECK);
}
_initialized = true;
}
< prev index next >