Mercurial > hg > truffle
comparison test/compiler/startup/SmallCodeCacheStartup.java @ 14201:655663109d87
8028052: compiler/startup/SmallCodeCacheStartup.java fails there is no 'no space to run compiler' in the output
Summary: Weaken test so that configurations that have no C1 compiler pass
Reviewed-by: iveresov
author | anoll |
---|---|
date | Fri, 20 Dec 2013 10:31:14 +0100 |
parents | 469216acdb28 |
children | 2757a106eaa8 |
comparison
equal
deleted
inserted
replaced
14200:d1af589627d4 | 14201:655663109d87 |
---|---|
35 ProcessBuilder pb; | 35 ProcessBuilder pb; |
36 OutputAnalyzer out; | 36 OutputAnalyzer out; |
37 | 37 |
38 pb = ProcessTools.createJavaProcessBuilder("-XX:ReservedCodeCacheSize=3m", "-XX:CICompilerCount=64", "-version"); | 38 pb = ProcessTools.createJavaProcessBuilder("-XX:ReservedCodeCacheSize=3m", "-XX:CICompilerCount=64", "-version"); |
39 out = new OutputAnalyzer(pb.start()); | 39 out = new OutputAnalyzer(pb.start()); |
40 out.shouldContain("no space to run compiler"); | |
41 out.shouldHaveExitValue(0); | 40 out.shouldHaveExitValue(0); |
42 } | 41 } |
43 } | 42 } |