Mercurial > hg > truffle
comparison src/share/vm/ci/ciField.hpp @ 14521:29ccc4cbabca
Merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Wed, 12 Mar 2014 13:30:08 +0100 |
parents | d8041d695d19 |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
14520:f84115370178 | 14521:29ccc4cbabca |
---|---|
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). |