test/hotspot/jtreg/runtime/logging/SafepointCleanupTest.java
changeset 54961 30c8a21ce002
parent 52703 e7fdc9d9c376
equal deleted inserted replaced
54960:e46fe26d7f77 54961:30c8a21ce002
     1 /*
     1 /*
     2  * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2016, 2019, 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.
    41         output.shouldContain("safepoint cleanup tasks");
    41         output.shouldContain("safepoint cleanup tasks");
    42         output.shouldContain("deflating global idle monitors");
    42         output.shouldContain("deflating global idle monitors");
    43         output.shouldContain("deflating per-thread idle monitors");
    43         output.shouldContain("deflating per-thread idle monitors");
    44         output.shouldContain("updating inline caches");
    44         output.shouldContain("updating inline caches");
    45         output.shouldContain("compilation policy safepoint handler");
    45         output.shouldContain("compilation policy safepoint handler");
    46         output.shouldContain("purging class loader data graph");
       
    47         output.shouldHaveExitValue(0);
    46         output.shouldHaveExitValue(0);
    48     }
    47     }
    49 
    48 
    50     static void analyzeOutputOff(ProcessBuilder pb) throws Exception {
    49     static void analyzeOutputOff(ProcessBuilder pb) throws Exception {
    51         OutputAnalyzer output = new OutputAnalyzer(pb.start());
    50         OutputAnalyzer output = new OutputAnalyzer(pb.start());