diff --git a/test/hotspot/gtest/oops/test_markWord.cpp b/test/hotspot/gtest/oops/test_markWord.cpp index 2797bafc032..36abcce3e44 100644 --- a/test/hotspot/gtest/oops/test_markWord.cpp +++ b/test/hotspot/gtest/oops/test_markWord.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, 2021, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -88,11 +88,11 @@ TEST_VM(markWord, printing) { ObjectLocker ol(h_obj, THREAD); assert_test_pattern(h_obj, "locked"); } - assert_test_pattern(h_obj, "is_neutral no_hash"); + assert_test_pattern(h_obj, "is_unlocked no_hash"); // Hash the object then print it. intx hash = h_obj->identity_hash(); - assert_test_pattern(h_obj, "is_neutral hash=0x"); + assert_test_pattern(h_obj, "is_unlocked hash=0x"); // Wait gets the lock inflated. {