8329720: Gtest failure printing markword after JDK-8325303
Reviewed-by: mikael
This commit is contained in:
parent
34f7974a40
commit
0b01144ece
@ -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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* 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);
|
ObjectLocker ol(h_obj, THREAD);
|
||||||
assert_test_pattern(h_obj, "locked");
|
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.
|
// Hash the object then print it.
|
||||||
intx hash = h_obj->identity_hash();
|
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.
|
// Wait gets the lock inflated.
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user