src/share/vm/classfile/altHashing.cpp

changeset 4037
da91efe96a93
parent 3865
e9140bf80b4a
child 4962
6f817ce50129
     1.1 --- a/src/share/vm/classfile/altHashing.cpp	Fri Aug 31 16:39:35 2012 -0700
     1.2 +++ b/src/share/vm/classfile/altHashing.cpp	Sat Sep 01 13:25:18 2012 -0400
     1.3 @@ -33,7 +33,7 @@
     1.4  // return a random number, which is one of the possible hash code used for
     1.5  // objects.  We don't want to call the synchronizer hash code to install
     1.6  // this value because it may safepoint.
     1.7 -intptr_t object_hash(klassOop k) {
     1.8 +intptr_t object_hash(Klass* k) {
     1.9    intptr_t hc = k->java_mirror()->mark()->hash();
    1.10    return hc != markOopDesc::no_hash ? hc : os::random();
    1.11  }

mercurial