From 0b01144ecec1283adaaaf1a7f53d075a56f030ae Mon Sep 17 00:00:00 2001 From: David Holmes Date: Fri, 5 Apr 2024 02:15:48 +0000 Subject: [PATCH] 8329720: Gtest failure printing markword after JDK-8325303 Reviewed-by: mikael --- test/hotspot/gtest/oops/test_markWord.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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. {