comparison src/share/vm/ci/ciField.hpp @ 14518:d8041d695d19

Merged with jdk9/dev/hotspot changeset 3812c088b945
author twisti
date Tue, 11 Mar 2014 18:45:59 -0700
parents cefad50507d8 63a4eb8bcd23
children 4ca6dc0799b6
comparison
equal deleted inserted replaced
14141:f97c5ec83832 14518:d8041d695d19
128 // 128 //
129 // Clarification: A field is considered constant if: 129 // Clarification: A field is considered constant if:
130 // 1. The field is both static and final 130 // 1. The field is both static and final
131 // 2. The canonical holder of the field has undergone 131 // 2. The canonical holder of the field has undergone
132 // static initialization. 132 // static initialization.
133 // 3. If the field is an object or array, then the oop 133 // 3. The field is not one of the special static/final
134 // in question is allocated in perm space.
135 // 4. The field is not one of the special static/final
136 // non-constant fields. These are java.lang.System.in 134 // non-constant fields. These are java.lang.System.in
137 // and java.lang.System.out. Abomination. 135 // and java.lang.System.out. Abomination.
138 // 136 //
139 // A field is also considered constant if it is marked @Stable 137 // A field is also considered constant if it is marked @Stable
140 // and is non-null (or non-zero, if a primitive). 138 // and is non-null (or non-zero, if a primitive).