< prev index next >

test/hotspot/jtreg/gc/g1/mixedgc/TestLogging.java

Print this page
rev 50542 : imported patch 8204084-stefanj-review
rev 50543 : [mq]: 8204084-stefanj-review2

*** 1,7 **** /* ! * Copyright (c) 2015, 2016, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2015, 2018, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 78,88 **** private static void test(String vmFlag) throws Exception { System.out.println(String.format("%s: running with %s flag", TestLogging.class.getSimpleName(), vmFlag)); OutputAnalyzer output = spawnMixedGCProvoker(vmFlag); System.out.println(output.getStdout()); output.shouldHaveExitValue(0); ! output.shouldContain("Pause Mixed (G1 Evacuation Pause)"); } /** * Method spawns MixedGCProvoker with addition flags set * --- 78,88 ---- private static void test(String vmFlag) throws Exception { System.out.println(String.format("%s: running with %s flag", TestLogging.class.getSimpleName(), vmFlag)); OutputAnalyzer output = spawnMixedGCProvoker(vmFlag); System.out.println(output.getStdout()); output.shouldHaveExitValue(0); ! output.shouldContain("Pause Young (Mixed) (G1 Evacuation Pause)"); } /** * Method spawns MixedGCProvoker with addition flags set *
< prev index next >