Download Jar. Uses 3874K of libraries. Click here for Pure Java version (5865L/41K).
!7 lib 1400078 // heap analyzer import org.netbeans.lib.profiler.heap.*; import java.lang.reflect.Field; static Heap heap; p-experiment { File f = stefansOS_heapDumpFile(); print("Loading heap dump (" + toM(fileSize(f)) + " M)..."); heap = HeapFactory.createHeap(f); print("Got heap."); L<JavaClass> classes = heap.getAllClasses(); print("Got " + n2(classes, "class", "classes")); pnl(sortedIC(mapMethod(classes, 'getName))); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016517 |
Snippet name: | List All Classes In Stefan's OS Heap Dump [OK] |
Eternal ID of this version: | #1016517/9 |
Text MD5: | 4db3ffb2046738d4208dfcbe6fd2eabf |
Transpilation MD5: | ed89e091e87294a6e1d1bfb88c516e8d |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-21 14:47:15 |
Source code size: | 462 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 630 / 1275 |
Version history: | 8 change(s) |
Referenced in: | #1016518 - Stefan's OS memory leak finder [OK] |