8293771: runtime/handshake/SystemMembarHandshakeTransitionTest.java fails if MEMBARRIER_CMD_QUERY is unsupported

Reviewed-by: rehn
This commit is contained in:
Jie Fu 2022-09-14 07:54:32 +00:00
parent 91f9c0d0cf
commit 8351b30e00

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2022, 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
@ -58,6 +58,6 @@ public class SystemMembarHandshakeTransitionTest {
OutputAnalyzer output = ProcessTools.executeProcess(pb); OutputAnalyzer output = ProcessTools.executeProcess(pb);
output.reportDiagnosticSummary(); output.reportDiagnosticSummary();
output.shouldMatch("(JOINED|Failed to initialize request system memory barrier synchronization.)"); output.shouldMatch("(JOINED|Failed to initialize the requested system memory barrier synchronization.)");
} }
} }