aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/interpreter/oopMapCache.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/vm/interpreter/oopMapCache.hpp')
-rw-r--r--src/share/vm/interpreter/oopMapCache.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/share/vm/interpreter/oopMapCache.hpp b/src/share/vm/interpreter/oopMapCache.hpp
index 2a8f82aee..4c1f0147f 100644
--- a/src/share/vm/interpreter/oopMapCache.hpp
+++ b/src/share/vm/interpreter/oopMapCache.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -22,6 +22,11 @@
*
*/
+#ifndef SHARE_VM_INTERPRETER_OOPMAPCACHE_HPP
+#define SHARE_VM_INTERPRETER_OOPMAPCACHE_HPP
+
+#include "oops/generateOopMap.hpp"
+
// A Cache for storing (method, bci) -> oopMap.
// The memory management system uses the cache when locating object
// references in an interpreted frame.
@@ -188,3 +193,5 @@ class OopMapCache : public CHeapObj {
// Returns total no. of bytes allocated as part of OopMapCache's
static long memory_usage() PRODUCT_RETURN0;
};
+
+#endif // SHARE_VM_INTERPRETER_OOPMAPCACHE_HPP