hotspot/src/share/vm/oops/methodOop.hpp
changeset 8653 8797d788a4f1
parent 8313 06ce193c8a5f
child 8674 303a2149d371
equal deleted inserted replaced
8652:209b2ce94ce5 8653:8797d788a4f1
   495   bool is_accessor() const;
   495   bool is_accessor() const;
   496 
   496 
   497   // returns true if the method is an initializer (<init> or <clinit>).
   497   // returns true if the method is an initializer (<init> or <clinit>).
   498   bool is_initializer() const;
   498   bool is_initializer() const;
   499 
   499 
       
   500   // returns true if the method is static OR if the classfile version < 51
       
   501   bool has_valid_initializer_flags() const;
       
   502 
       
   503   // returns true if the method name is <clinit> and the method has
       
   504   // valid static initializer flags.
       
   505   bool is_static_initializer() const;
       
   506 
   500   // compiled code support
   507   // compiled code support
   501   // NOTE: code() is inherently racy as deopt can be clearing code
   508   // NOTE: code() is inherently racy as deopt can be clearing code
   502   // simultaneously. Use with caution.
   509   // simultaneously. Use with caution.
   503   bool has_compiled_code() const                 { return code() != NULL; }
   510   bool has_compiled_code() const                 { return code() != NULL; }
   504 
   511