hotspot/test/gc/g1/TestGCLogMessages.java
changeset 24104 febf9363fb68
parent 23472 35e93890ed88
child 24467 886598231964
equal deleted inserted replaced
24103:956dc4aa4615 24104:febf9363fb68
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test TestPrintGCDetails
    25  * @test TestPrintGCDetails
    26  * @bug 8035406 8027295 8035398
    26  * @bug 8035406 8027295 8035398 8019342
    27  * @summary Ensure that the PrintGCDetails output for a minor GC with G1
    27  * @summary Ensure that the PrintGCDetails output for a minor GC with G1
    28  * includes the expected necessary messages.
    28  * includes the expected necessary messages.
    29  * @key gc
    29  * @key gc
    30  * @library /testlibrary
    30  * @library /testlibrary
    31  */
    31  */
    46                                                               GCTest.class.getName());
    46                                                               GCTest.class.getName());
    47 
    47 
    48     OutputAnalyzer output = new OutputAnalyzer(pb.start());
    48     OutputAnalyzer output = new OutputAnalyzer(pb.start());
    49 
    49 
    50     output.shouldNotContain("[Redirty Cards");
    50     output.shouldNotContain("[Redirty Cards");
       
    51     output.shouldNotContain("[Parallel Redirty");
       
    52     output.shouldNotContain("[Redirtied Cards");
    51     output.shouldNotContain("[Code Root Purge");
    53     output.shouldNotContain("[Code Root Purge");
    52     output.shouldNotContain("[String Dedup Fixup");
    54     output.shouldNotContain("[String Dedup Fixup");
    53     output.shouldNotContain("[Young Free CSet");
    55     output.shouldNotContain("[Young Free CSet");
    54     output.shouldNotContain("[Non-Young Free CSet");
    56     output.shouldNotContain("[Non-Young Free CSet");
    55     output.shouldHaveExitValue(0);
    57     output.shouldHaveExitValue(0);
    61                                                GCTest.class.getName());
    63                                                GCTest.class.getName());
    62 
    64 
    63     output = new OutputAnalyzer(pb.start());
    65     output = new OutputAnalyzer(pb.start());
    64 
    66 
    65     output.shouldContain("[Redirty Cards");
    67     output.shouldContain("[Redirty Cards");
       
    68     output.shouldNotContain("[Parallel Redirty");
       
    69     output.shouldNotContain("[Redirtied Cards");
    66     output.shouldContain("[Code Root Purge");
    70     output.shouldContain("[Code Root Purge");
    67     output.shouldContain("[String Dedup Fixup");
    71     output.shouldContain("[String Dedup Fixup");
    68     output.shouldNotContain("[Young Free CSet");
    72     output.shouldNotContain("[Young Free CSet");
    69     output.shouldNotContain("[Non-Young Free CSet");
    73     output.shouldNotContain("[Non-Young Free CSet");
    70     output.shouldHaveExitValue(0);
    74     output.shouldHaveExitValue(0);
    78                                                GCTest.class.getName());
    82                                                GCTest.class.getName());
    79 
    83 
    80     output = new OutputAnalyzer(pb.start());
    84     output = new OutputAnalyzer(pb.start());
    81 
    85 
    82     output.shouldContain("[Redirty Cards");
    86     output.shouldContain("[Redirty Cards");
       
    87     output.shouldContain("[Parallel Redirty");
       
    88     output.shouldContain("[Redirtied Cards");
    83     output.shouldContain("[Code Root Purge");
    89     output.shouldContain("[Code Root Purge");
    84     output.shouldContain("[String Dedup Fixup");
    90     output.shouldContain("[String Dedup Fixup");
    85     output.shouldContain("[Young Free CSet");
    91     output.shouldContain("[Young Free CSet");
    86     output.shouldContain("[Non-Young Free CSet");
    92     output.shouldContain("[Non-Young Free CSet");
    87 
    93