Skip to content

Commit 0b01144

Browse files
author
David Holmes
committed
8329720: Gtest failure printing markword after JDK-8325303
Reviewed-by: mikael
1 parent 34f7974 commit 0b01144

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/hotspot/gtest/oops/test_markWord.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2019, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -88,11 +88,11 @@ TEST_VM(markWord, printing) {
8888
ObjectLocker ol(h_obj, THREAD);
8989
assert_test_pattern(h_obj, "locked");
9090
}
91-
assert_test_pattern(h_obj, "is_neutral no_hash");
91+
assert_test_pattern(h_obj, "is_unlocked no_hash");
9292

9393
// Hash the object then print it.
9494
intx hash = h_obj->identity_hash();
95-
assert_test_pattern(h_obj, "is_neutral hash=0x");
95+
assert_test_pattern(h_obj, "is_unlocked hash=0x");
9696

9797
// Wait gets the lock inflated.
9898
{

0 commit comments

Comments
 (0)