hotspot/src/share/vm/ci/ciField.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/hotspot/src/share/vm/ci/ciField.hpp	Wed Sep  4 13:51:31 2013
--- new/hotspot/src/share/vm/ci/ciField.hpp	Wed Sep  4 13:51:30 2013

*** 137,147 **** --- 137,150 ---- // in question is allocated in perm space. // 4. The field is not one of the special static/final // non-constant fields. These are java.lang.System.in // and java.lang.System.out. Abomination. // // Note: the check for case 4 is not yet implemented. + // A field is also considered constant if it is marked @Stable + // and is non-null (or non-zero, if a primitive). + // For non-static fields, the null/zero check must be + // arranged by the user, as constant_value().is_null_or_zero(). bool is_constant() { return _is_constant; } // Get the constant value of this field. ciConstant constant_value() { assert(is_static() && is_constant(), "illegal call to constant_value()");
*** 171,180 **** --- 174,184 ---- bool is_public () { return flags().is_public(); } bool is_private () { return flags().is_private(); } bool is_protected () { return flags().is_protected(); } bool is_static () { return flags().is_static(); } bool is_final () { return flags().is_final(); } + bool is_stable () { return flags().is_stable(); } bool is_volatile () { return flags().is_volatile(); } bool is_transient () { return flags().is_transient(); } bool is_call_site_target() { ciInstanceKlass* callsite_klass = CURRENT_ENV->CallSite_klass();

hotspot/src/share/vm/ci/ciField.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File