--- a/test/hotspot/jtreg/runtime/logging/MonitorInflationTest.java Tue Jan 29 10:09:13 2019 -0800
+++ b/test/hotspot/jtreg/runtime/logging/MonitorInflationTest.java Tue Jan 29 14:09:38 2019 -0500
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2019, 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
@@ -37,8 +37,8 @@
public class MonitorInflationTest {
static void analyzeOutputOn(ProcessBuilder pb) throws Exception {
OutputAnalyzer output = new OutputAnalyzer(pb.start());
- output.shouldContain("Inflating object");
- output.shouldContain("type MonitorInflationTest$Waiter");
+ output.shouldContain("inflate(has_locker):");
+ output.shouldContain("type='MonitorInflationTest$Waiter'");
output.shouldContain("I've been waiting.");
output.shouldHaveExitValue(0);
}