Libraryless. Click here for Pure Java version (2468L/16K).
sclass MethodDisassembly { new LS lines; //new SS properties; } static L<MethodDisassembly> c2compiledMethodsFromPrintAssembly(File log) { temp CloseableItIt<S> it = linesFromFile(log); new L<MethodDisassembly> 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; }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1025254 |
| Snippet name: | c2compiledMethodsFromPrintAssembly |
| Eternal ID of this version: | #1025254/5 |
| Text MD5: | 97f2b19d8aa094e23c869c43ddbf79ff |
| Transpilation MD5: | 40bd3304bcd2af87e2bc3c6cafa8820d |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-09-16 18:41:24 |
| Source code size: | 611 bytes / 23 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 445 / 590 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |