Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1009296 // Benchmark printDeadlocks() with 1000 sleeping threads

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (836L/6K/23K).

!7

p {
  makeSleepingThreads(1000);
  repeat 10 {
    time "Calling printDeadlocks 10000 times." { repeat 10000 { printDeadlocks(); } }
  }
}

Author comment

Began life as a copy of #1009294

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1009296
Snippet name: Benchmark printDeadlocks() with 1000 sleeping threads
Eternal ID of this version: #1009296/1
Text MD5: aceb8954a890b9826b3a42353025b0ee
Transpilation MD5: e18bfb320480efdf8409ead081365a97
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-21 16:59:28
Source code size: 149 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 421 / 457
Referenced in: [show references]