aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/interpreter/invocationCounter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/vm/interpreter/invocationCounter.hpp')
-rw-r--r--src/share/vm/interpreter/invocationCounter.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/share/vm/interpreter/invocationCounter.hpp b/src/share/vm/interpreter/invocationCounter.hpp
index 2019d4212..38725907e 100644
--- a/src/share/vm/interpreter/invocationCounter.hpp
+++ b/src/share/vm/interpreter/invocationCounter.hpp
@@ -22,6 +22,13 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_INVOCATIONCOUNTER_HPP
+#define SHARE_VM_INTERPRETER_INVOCATIONCOUNTER_HPP
+
+#include "memory/allocation.hpp"
+#include "runtime/handles.hpp"
+#include "utilities/exceptions.hpp"
+
// InvocationCounters are used to trigger actions when a limit (threshold) is reached.
// For different states, different limits and actions can be defined in the initialization
// routine of InvocationCounters.
@@ -134,3 +141,5 @@ inline void InvocationCounter::decay() {
set(state(), new_count);
}
+
+#endif // SHARE_VM_INTERPRETER_INVOCATIONCOUNTER_HPP