equal
deleted
inserted
replaced
136 System.err.println(out.getStderr()); |
136 System.err.println(out.getStderr()); |
137 |
137 |
138 if (dumpFile.exists() && dumpFile.isFile()) { |
138 if (dumpFile.exists() && dumpFile.isFile()) { |
139 HprofParser.parse(dumpFile); |
139 HprofParser.parse(dumpFile); |
140 } else { |
140 } else { |
141 boolean ZGCUsed = false; |
141 throw new RuntimeException( |
142 |
142 "Could not find dump file " + dumpFile.getAbsolutePath()); |
143 for (String opt: Utils.getFilteredTestJavaOpts()) { |
|
144 if (opt.contains("+UseZGC")) { |
|
145 ZGCUsed = true; |
|
146 break; |
|
147 } |
|
148 } |
|
149 |
|
150 if (!ZGCUsed) { |
|
151 throw new RuntimeException( |
|
152 "Could not find dump file " + dumpFile.getAbsolutePath()); |
|
153 } |
|
154 } |
143 } |
155 |
144 |
156 System.out.println("PASSED"); |
145 System.out.println("PASSED"); |
157 } |
146 } |
158 } |
147 } |