Skip to content

Commit b1d8be3

Browse files
committed
Typo
1 parent 6922524 commit b1d8be3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hotspot/share/opto/library_call.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4782,7 +4782,7 @@ bool LibraryCallKit::inline_native_hashcode(bool is_virtual, bool is_static) {
47824782
// object header is not a constant. We must check and fetch explicitly.
47834783
const TypeInstPtr* t = _gvn.type(obj)->isa_instptr();
47844784
if (t != nullptr && t->const_oop() != nullptr) {
4785-
jint hash = t->const_oop()->identity_hash_or_zero();
4785+
jint hash = t->const_oop()->identity_hash_or_no_hash();
47864786
if (hash != 0) {
47874787
result_reg->init_req(_fast_path, control());
47884788
result_val->init_req(_fast_path, _gvn.intcon(hash));

0 commit comments

Comments
 (0)