< prev index next >
test/hotspot/jtreg/gc/g1/TestStringDeduplicationTools.java
Print this page
rev 50628 : imported patch 8204084-stefanj-review
rev 50629 : imported patch 8204084-stefanj-review2
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 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.
@@ -333,11 +333,11 @@
OutputAnalyzer output = DeduplicationTest.run(LargeNumberOfStrings,
DefaultAgeThreshold,
YoungGC,
"-Xlog:gc,gc+stringdedup=trace");
output.shouldNotContain("Full GC");
- output.shouldContain("Pause Young (G1 Evacuation Pause)");
+ output.shouldContain("Pause Young (Normal) (G1 Evacuation Pause)");
output.shouldContain("Concurrent String Deduplication");
output.shouldContain("Deduplicated:");
output.shouldHaveExitValue(0);
}
@@ -345,11 +345,11 @@
// Do full GC to age strings to provoke deduplication
OutputAnalyzer output = DeduplicationTest.run(LargeNumberOfStrings,
DefaultAgeThreshold,
FullGC,
"-Xlog:gc,gc+stringdedup=trace");
- output.shouldNotContain("Pause Young (G1 Evacuation Pause)");
+ output.shouldNotContain("Pause Young (Normal) (G1 Evacuation Pause)");
output.shouldContain("Full GC");
output.shouldContain("Concurrent String Deduplication");
output.shouldContain("Deduplicated:");
output.shouldHaveExitValue(0);
}
< prev index next >