--- a/hotspot/src/share/vm/ci/ciObject.hpp Tue May 24 15:30:05 2011 -0700
+++ b/hotspot/src/share/vm/ci/ciObject.hpp Tue May 24 20:24:11 2011 -0700
@@ -108,7 +108,7 @@
int hash();
// Tells if this oop has an encoding as a constant.
- // True if is_scavengable is false.
+ // True if is_perm is true.
// Also true if ScavengeRootsInCode is non-zero.
// If it does not have an encoding, the compiler is responsible for
// making other arrangements for dealing with the oop.
@@ -116,7 +116,7 @@
bool can_be_constant();
// Tells if this oop should be made a constant.
- // True if is_scavengable is false or ScavengeRootsInCode > 1.
+ // True if is_perm is true or ScavengeRootsInCode > 1.
bool should_be_constant();
// Is this object guaranteed to be in the permanent part of the heap?