changeset 31614 | f60b185e0bdf |
parent 25351 | 7c198a690050 |
child 31616 | 01c68517607d |
--- a/hotspot/src/share/vm/oops/symbol.cpp Mon Jun 29 17:24:52 2015 +0000 +++ b/hotspot/src/share/vm/oops/symbol.cpp Mon Jun 29 13:48:55 2015 -0700 @@ -35,7 +35,7 @@ Symbol::Symbol(const u1* name, int length, int refcount) { _refcount = refcount; _length = length; - _identity_hash = os::random(); + _identity_hash = (short)os::random(); for (int i = 0; i < _length; i++) { byte_at_put(i, name[i]); }