src/share/vm/oops/methodOop.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/oops/methodOop.hpp Wed Mar 2 14:05:16 2011
--- new/src/share/vm/oops/methodOop.hpp Wed Mar 2 14:05:14 2011
*** 495,504 ****
--- 495,511 ----
bool is_accessor() const;
// returns true if the method is an initializer (<init> or <clinit>).
bool is_initializer() const;
+ // returns true if the method is static OR if the classfile version < 51
+ bool has_valid_initializer_flags() const;
+
+ // returns true if the method name is <clinit> and the method has
+ // valid static initializer flags.
+ bool is_static_initializer() const;
+
// compiled code support
// NOTE: code() is inherently racy as deopt can be clearing code
// simultaneously. Use with caution.
bool has_compiled_code() const { return code() != NULL; }
src/share/vm/oops/methodOop.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File