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

src/share/vm/ci/ciField.hpp

Print this page
rev 5732 : [mq]: comments2

*** 128,140 **** // // Clarification: A field is considered constant if: // 1. The field is both static and final // 2. The canonical holder of the field has undergone // static initialization. ! // 3. If the field is an object or array, then the oop ! // 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. // // A field is also considered constant if it is marked @Stable // and is non-null (or non-zero, if a primitive). --- 128,138 ---- // // Clarification: A field is considered constant if: // 1. The field is both static and final // 2. The canonical holder of the field has undergone // static initialization. ! // 3. 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. // // A field is also considered constant if it is marked @Stable // and is non-null (or non-zero, if a primitive).
src/share/vm/ci/ciField.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File