sclass MethodDisassembly { new LS lines; //new SS properties; } static L c2compiledMethodsFromPrintAssembly(File log) { temp CloseableItIt it = linesFromFile(log); new L out; MethodDisassembly m = null; int lines = 0; while ping (it.hasNext()) { ++lines; S s = trim(it.next()); if (regexpFind("==+ C2-compiled nmethod ==+", s)) { if (m != null) out.add(m); m = new MethodDisassembly; } if (m != null) m.lines.add(s); } if (m != null) out.add(m); print(nLines(lines) + " scanned"); ret out; }