Mercurial > hg > truffle
comparison src/share/vm/ci/ciField.hpp @ 14909:4ca6dc0799b6
Backout jdk9 merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 01 Apr 2014 13:57:07 +0200 |
parents | d8041d695d19 |
children |
comparison
equal
deleted
inserted
replaced
14908:8db6e76cb658 | 14909:4ca6dc0799b6 |
---|---|
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. The field is not one of the special static/final | 133 // 3. If the field is an object or array, then the oop |
134 // in question is allocated in perm space. | |
135 // 4. The field is not one of the special static/final | |
134 // non-constant fields. These are java.lang.System.in | 136 // non-constant fields. These are java.lang.System.in |
135 // and java.lang.System.out. Abomination. | 137 // and java.lang.System.out. Abomination. |
136 // | 138 // |
137 // A field is also considered constant if it is marked @Stable | 139 // A field is also considered constant if it is marked @Stable |
138 // and is non-null (or non-zero, if a primitive). | 140 // and is non-null (or non-zero, if a primitive). |