equal
deleted
inserted
replaced
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
|
25 #ifndef SHARE_VM_CODE_NMETHOD_HPP |
|
26 #define SHARE_VM_CODE_NMETHOD_HPP |
|
27 |
|
28 #include "code/codeBlob.hpp" |
|
29 #include "code/pcDesc.hpp" |
|
30 |
25 // This class is used internally by nmethods, to cache |
31 // This class is used internally by nmethods, to cache |
26 // exception/pc/handler information. |
32 // exception/pc/handler information. |
27 |
33 |
28 class ExceptionCache : public CHeapObj { |
34 class ExceptionCache : public CHeapObj { |
29 friend class VMStructs; |
35 friend class VMStructs; |
702 unlock_nmethod(_nm); // note: This works even if _nm==new_nm. |
708 unlock_nmethod(_nm); // note: This works even if _nm==new_nm. |
703 _nm = new_nm; |
709 _nm = new_nm; |
704 lock_nmethod(_nm); |
710 lock_nmethod(_nm); |
705 } |
711 } |
706 }; |
712 }; |
|
713 |
|
714 #endif // SHARE_VM_CODE_NMETHOD_HPP |