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

8
LINES

< > BotCompany Repo | #1009298 // Benchmark printDeadlocks() with 100 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(100);
  repeat 10 {
    time "Calling printDeadlocks 10000 times." { repeat 10000 { printDeadlocks(); } }
  }
}

Author comment

Began life as a copy of #1009296

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: #1009298
Snippet name: Benchmark printDeadlocks() with 100 sleeping threads
Eternal ID of this version: #1009298/1
Text MD5: 6026153aa8d3c282177365b230cbcb49
Transpilation MD5: d9b47d27487bf31f79728330b1191d84
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-21 17:00:52
Source code size: 148 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 373 / 430
Referenced in: [show references]