src/share/vm/oops/method.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
8161987 Cdiff src/share/vm/oops/method.hpp
src/share/vm/oops/method.hpp
Print this page
rev 8156 : 8157181: Compilers accept modification of final fields outside initializer methods
Summary: Track initialized final field updates; disable constant folding if an update is detected.
Reviewed-by: vlivanov, dnsimon, forax, never, kvn, coleenp
*** 625,634 ****
--- 625,637 ----
// returns true if the method name is <clinit> and the method has
// valid static initializer flags.
bool is_static_initializer() const;
+ // returns true if the method name is <init>
+ bool is_object_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/method.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File