src/share/vm/code/nmethod.hpp

Print this page

        

@@ -20,10 +20,16 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  *
  */
 
+#ifndef SHARE_VM_CODE_NMETHOD_HPP
+#define SHARE_VM_CODE_NMETHOD_HPP
+
+#include "code/codeBlob.hpp"
+#include "code/pcDesc.hpp"
+
 // This class is used internally by nmethods, to cache
 // exception/pc/handler information.
 
 class ExceptionCache : public CHeapObj {
   friend class VMStructs;

@@ -702,5 +708,7 @@
     unlock_nmethod(_nm);   // note:  This works even if _nm==new_nm.
     _nm = new_nm;
     lock_nmethod(_nm);
   }
 };
+
+#endif // SHARE_VM_CODE_NMETHOD_HPP