Mercurial > hg > graal-jvmci-8
comparison src/share/vm/ci/ciObject.hpp @ 3464:be4ca325525a
Merge.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 27 Jul 2011 17:32:44 -0700 |
parents | 0654ee04b214 28a9fe9534ea |
children | 46f211fe010c |
comparison
equal
deleted
inserted
replaced
3239:7c4b4daac19b | 3464:be4ca325525a |
---|---|
114 | 114 |
115 // A hash value for the convenience of compilers. | 115 // A hash value for the convenience of compilers. |
116 int hash(); | 116 int hash(); |
117 | 117 |
118 // Tells if this oop has an encoding as a constant. | 118 // Tells if this oop has an encoding as a constant. |
119 // True if is_scavengable is false. | 119 // True if is_perm is true. |
120 // Also true if ScavengeRootsInCode is non-zero. | 120 // Also true if ScavengeRootsInCode is non-zero. |
121 // If it does not have an encoding, the compiler is responsible for | 121 // If it does not have an encoding, the compiler is responsible for |
122 // making other arrangements for dealing with the oop. | 122 // making other arrangements for dealing with the oop. |
123 // See ciEnv::make_array | 123 // See ciEnv::make_array |
124 bool can_be_constant(); | 124 bool can_be_constant(); |
125 | 125 |
126 // Tells if this oop should be made a constant. | 126 // Tells if this oop should be made a constant. |
127 // True if is_scavengable is false or ScavengeRootsInCode > 1. | 127 // True if is_perm is true or ScavengeRootsInCode > 1. |
128 bool should_be_constant(); | 128 bool should_be_constant(); |
129 | 129 |
130 // Is this object guaranteed to be in the permanent part of the heap? | 130 // Is this object guaranteed to be in the permanent part of the heap? |
131 // If so, CollectedHeap::can_elide_permanent_oop_store_barriers is relevant. | 131 // If so, CollectedHeap::can_elide_permanent_oop_store_barriers is relevant. |
132 // If the answer is false, no guarantees are made. | 132 // If the answer is false, no guarantees are made. |