comparison src/share/vm/code/nmethod.hpp @ 1972:f95d63e2154a

6989984: Use standard include model for Hospot Summary: Replaced MakeDeps and the includeDB files with more standardized solutions. Reviewed-by: coleenp, kvn, kamg
author stefank
date Tue, 23 Nov 2010 13:22:55 -0800
parents d5d065957597
children 09b4dd4f152b
comparison
equal deleted inserted replaced
1971:e33f46fc48ed 1972:f95d63e2154a
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