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

8
LINES

< > BotCompany Repo | #1009116 // 100 Sleeping Threads (to see how much memory it uses)

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

Libraryless. Click here for Pure Java version (4936L/33K/111K).

!7

p {
  restartWithNativeMemoryTracking(args);
  for (int i = 0; i < 100; i++)
    thread "Sleeper" { main.sleep(); }
  print("100 threads created.");
}

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: #1009116
Snippet name: 100 Sleeping Threads (to see how much memory it uses)
Eternal ID of this version: #1009116/4
Text MD5: 7122d1049322ddb56d6a39632c422a55
Transpilation MD5: f341c3ca4c55a796d37b321a99f9f555
Author: stefan
Category: javax / benchmarks
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-03 01:16:11
Source code size: 161 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 456 / 577
Version history: 3 change(s)
Referenced in: [show references]