hotspot/src/share/vm/code/nmethod.hpp
changeset 36078 954c49c0ba57
parent 35542 9dccb7f9f656
child 36300 5b47f168b948
equal deleted inserted replaced
36077:fa6d92de1c70 36078:954c49c0ba57
    27 
    27 
    28 #include "code/codeBlob.hpp"
    28 #include "code/codeBlob.hpp"
    29 #include "code/pcDesc.hpp"
    29 #include "code/pcDesc.hpp"
    30 #include "oops/metadata.hpp"
    30 #include "oops/metadata.hpp"
    31 
    31 
       
    32 class DirectiveSet;
       
    33 
    32 // This class is used internally by nmethods, to cache
    34 // This class is used internally by nmethods, to cache
    33 // exception/pc/handler information.
    35 // exception/pc/handler information.
    34 
    36 
    35 class ExceptionCache : public CHeapObj<mtCode> {
    37 class ExceptionCache : public CHeapObj<mtCode> {
    36   friend class VMStructs;
    38   friend class VMStructs;
   712   void print_calls(outputStream* st)              PRODUCT_RETURN;
   714   void print_calls(outputStream* st)              PRODUCT_RETURN;
   713   void print_handler_table()                      PRODUCT_RETURN;
   715   void print_handler_table()                      PRODUCT_RETURN;
   714   void print_nul_chk_table()                      PRODUCT_RETURN;
   716   void print_nul_chk_table()                      PRODUCT_RETURN;
   715   void print_recorded_oops()                      PRODUCT_RETURN;
   717   void print_recorded_oops()                      PRODUCT_RETURN;
   716   void print_recorded_metadata()                  PRODUCT_RETURN;
   718   void print_recorded_metadata()                  PRODUCT_RETURN;
       
   719 
       
   720   void maybe_print_nmethod(DirectiveSet* directive);
   717   void print_nmethod(bool print_code);
   721   void print_nmethod(bool print_code);
   718 
   722 
   719   // need to re-define this from CodeBlob else the overload hides it
   723   // need to re-define this from CodeBlob else the overload hides it
   720   virtual void print_on(outputStream* st) const { CodeBlob::print_on(st); }
   724   virtual void print_on(outputStream* st) const { CodeBlob::print_on(st); }
   721   void print_on(outputStream* st, const char* msg) const;
   725   void print_on(outputStream* st, const char* msg) const;