equal
deleted
inserted
replaced
167 * @param type type of statistics |
167 * @param type type of statistics |
168 * @param fieldsName name of fields in PlabStatistics |
168 * @param fieldsName name of fields in PlabStatistics |
169 * @return |
169 * @return |
170 **/ |
170 **/ |
171 public PlabInfo getSpecifiedStats(long specifiedGcId, LogParser.ReportType type, List<String> fieldsName) { |
171 public PlabInfo getSpecifiedStats(long specifiedGcId, LogParser.ReportType type, List<String> fieldsName) { |
172 return getSpecifiedStats(Arrays.asList(specifiedGcId), type, fieldsName, true).get(specifiedGcId); |
172 PlabInfo info = getSpecifiedStats(Arrays.asList(specifiedGcId), type, fieldsName, true).get(specifiedGcId); |
|
173 if (info == null) { |
|
174 System.out.println(log); |
|
175 throw new RuntimeException("Cannot find PLAB statistics in log ( GC_ID=" + specifiedGcId + " type=" + type + " )"); |
|
176 } |
|
177 return info; |
173 } |
178 } |
174 |
179 |
175 /** |
180 /** |
176 * Returns Map<Long,PlabStatistics> which contains specified statistics. Filters out specified gc ids. |
181 * Returns Map<Long,PlabStatistics> which contains specified statistics. Filters out specified gc ids. |
177 * @param specifiedGcIdForExclude |
182 * @param specifiedGcIdForExclude |