mirror of
https://github.com/openjdk/jdk.git
synced 2026-06-06 10:42:45 +00:00
8385096: Test runtime/cds/MetaspaceAllocGaps.java fails on Windows
Reviewed-by: shade, kvn
This commit is contained in:
parent
a3b53e969a
commit
026aede81e
@ -49,14 +49,8 @@ public class MetaspaceAllocGaps {
|
||||
.classpath(appJar)
|
||||
.appCommandLine("Hello")
|
||||
.setTrainingChecker((OutputAnalyzer out) -> {
|
||||
// Typically all gaps should be filled. If not, we probably have a regression in C++ class ArchiveUtils.
|
||||
//
|
||||
// [0.422s][debug][aot ] Detailed metadata info (excluding heap region):
|
||||
// [...]
|
||||
// [0.422s][debug][aot ] Gap : 0 0 0.0 | 0 0 0.0 | 0 0 0.0 <<< look for this pattern
|
||||
out.shouldMatch("Allocated [1-9][0-9]+ objects of [1-9][0-9]+ bytes in gaps .remain = 0 bytes")
|
||||
.shouldMatch("debug.* Gap .*0[.]0.*0[.]0.*0[.]0")
|
||||
.shouldNotMatch("Unexpected .* gaps .* for Klass alignment");
|
||||
// We should have only very minimal amount of gaps left unfilled. See JDK-8383503
|
||||
out.shouldNotMatch("Unexpected .* gaps .* for Klass alignment");
|
||||
})
|
||||
.setProductionChecker((OutputAnalyzer out) -> {
|
||||
out.shouldContain("HelloWorld");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user