src/share/vm/code/nmethod.hpp
Print this page
*** 20,29 ****
--- 20,35 ----
* 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,706 ****
--- 708,714 ----
unlock_nmethod(_nm); // note: This works even if _nm==new_nm.
_nm = new_nm;
lock_nmethod(_nm);
}
};
+
+ #endif // SHARE_VM_CODE_NMETHOD_HPP