equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
37 public class SafepointCleanupTest { |
37 public class SafepointCleanupTest { |
38 static void analyzeOutputOn(ProcessBuilder pb) throws Exception { |
38 static void analyzeOutputOn(ProcessBuilder pb) throws Exception { |
39 OutputAnalyzer output = new OutputAnalyzer(pb.start()); |
39 OutputAnalyzer output = new OutputAnalyzer(pb.start()); |
40 output.shouldContain("[safepoint,cleanup]"); |
40 output.shouldContain("[safepoint,cleanup]"); |
41 output.shouldContain("safepoint cleanup tasks"); |
41 output.shouldContain("safepoint cleanup tasks"); |
42 output.shouldContain("deflating idle monitors"); |
42 output.shouldContain("deflating global idle monitors"); |
|
43 output.shouldContain("deflating per-thread idle monitors"); |
43 output.shouldContain("updating inline caches"); |
44 output.shouldContain("updating inline caches"); |
44 output.shouldContain("compilation policy safepoint handler"); |
45 output.shouldContain("compilation policy safepoint handler"); |
45 output.shouldContain("purging class loader data graph"); |
46 output.shouldContain("purging class loader data graph"); |
46 output.shouldHaveExitValue(0); |
47 output.shouldHaveExitValue(0); |
47 } |
48 } |