src/share/vm/code/nmethod.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8015774 Sdiff src/share/vm/code

src/share/vm/code/nmethod.hpp

Print this page




 278 #endif // def HAVE_DTRACE_H
 279 
 280   // Creation support
 281   nmethod(Method* method,
 282           int nmethod_size,
 283           int compile_id,
 284           int entry_bci,
 285           CodeOffsets* offsets,
 286           int orig_pc_offset,
 287           DebugInformationRecorder *recorder,
 288           Dependencies* dependencies,
 289           CodeBuffer *code_buffer,
 290           int frame_size,
 291           OopMapSet* oop_maps,
 292           ExceptionHandlerTable* handler_table,
 293           ImplicitExceptionTable* nul_chk_table,
 294           AbstractCompiler* compiler,
 295           int comp_level);
 296 
 297   // helper methods
 298   void* operator new(size_t size, int nmethod_size) throw();
 299 
 300   const char* reloc_string_for(u_char* begin, u_char* end);
 301   // Returns true if this thread changed the state of the nmethod or
 302   // false if another thread performed the transition.
 303   bool make_not_entrant_or_zombie(unsigned int state);
 304   void inc_decompile_count();
 305 
 306   // Used to manipulate the exception cache
 307   void add_exception_cache_entry(ExceptionCache* new_entry);
 308   ExceptionCache* exception_cache_entry_for_exception(Handle exception);
 309 
 310   // Inform external interfaces that a compiled method has been unloaded
 311   void post_compiled_method_unload();
 312 
 313   // Initailize fields to their default values
 314   void init_defaults();
 315 
 316  public:
 317   // create nmethod with entry_bci
 318   static nmethod* new_nmethod(methodHandle method,




 278 #endif // def HAVE_DTRACE_H
 279 
 280   // Creation support
 281   nmethod(Method* method,
 282           int nmethod_size,
 283           int compile_id,
 284           int entry_bci,
 285           CodeOffsets* offsets,
 286           int orig_pc_offset,
 287           DebugInformationRecorder *recorder,
 288           Dependencies* dependencies,
 289           CodeBuffer *code_buffer,
 290           int frame_size,
 291           OopMapSet* oop_maps,
 292           ExceptionHandlerTable* handler_table,
 293           ImplicitExceptionTable* nul_chk_table,
 294           AbstractCompiler* compiler,
 295           int comp_level);
 296 
 297   // helper methods
 298   void* operator new(size_t size, int nmethod_size, int comp_level) throw();
 299 
 300   const char* reloc_string_for(u_char* begin, u_char* end);
 301   // Returns true if this thread changed the state of the nmethod or
 302   // false if another thread performed the transition.
 303   bool make_not_entrant_or_zombie(unsigned int state);
 304   void inc_decompile_count();
 305 
 306   // Used to manipulate the exception cache
 307   void add_exception_cache_entry(ExceptionCache* new_entry);
 308   ExceptionCache* exception_cache_entry_for_exception(Handle exception);
 309 
 310   // Inform external interfaces that a compiled method has been unloaded
 311   void post_compiled_method_unload();
 312 
 313   // Initailize fields to their default values
 314   void init_defaults();
 315 
 316  public:
 317   // create nmethod with entry_bci
 318   static nmethod* new_nmethod(methodHandle method,


src/share/vm/code/nmethod.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File