Libraryless. Click here for Pure Java version (42L/1K/2K).
!747 m { p { Map<Thread, StackTraceElement[]> threadMap = Thread.getAllStackTraces(); for (Thread t : threadMap.keySet()) { //print(structure(threadMap)); print(t); } print(threadMap.size() + " threads."); } }
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1000948 |
Snippet name: | List all threads (short method) |
Eternal ID of this version: | #1000948/1 |
Text MD5: | 75ae8b97fc4d1b05ff20b36244bc1053 |
Transpilation MD5: | 739ebfb8f633b599b58f3a9bd578cdea |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-09-11 19:00:24 |
Source code size: | 253 bytes / 12 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 613 / 714 |
Referenced in: | #1001387 - Count all threads (injectable program) #1001444 - List all non-daemon threads #3000035 - Output of: #1000948 #3000190 - Answer for stefanreich(>> t 20 questions) #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |