comparison test/gc/g1/TestGCLogMessages.java @ 20216:570cb6369f17

8019342: G1: High "Other" time most likely due to card redirtying Summary: Parallelize card redirtying to decrease the time it takes. Reviewed-by: brutisso
author tschatzl
date Mon, 21 Jul 2014 09:40:19 +0200
parents 595c0f60d50d
children 6e1f418b39c3
comparison
equal deleted inserted replaced
20215:983092f35ff7 20216:570cb6369f17
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