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

19
LINES

< > BotCompany Repo | #1016398 // Memory Pool Sizes [Dyn Module]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Libraryless. Click here for Pure Java version (18981L/114K).

1  
!7
2  
3  
sclass MemoryPoolSizes extends DynModule {
4  
  transient SimpleLiveValue<S> lv = stringLiveValue();
5  
  
6  
  JComponent visualize() {
7  
    ret jLiveValueTypeWriterTextArea(lv);
8  
  }
9  
  
10  
  void start {
11  
    doEveryAndNow(60.0, r doIt);
12  
  }
13  
  
14  
  void doIt {
15  
    temp enter();
16  
    lv.set(rtrim(renderMemoryPoolSizes2()));
17  
    appendToFile(javaxDataDir("Logs/memory-pool-sizes.txt"), localDateWithSeconds() + "\n" + lv! + "\n\n");
18  
  }
19  
}

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: #1016398
Snippet name: Memory Pool Sizes [Dyn Module]
Eternal ID of this version: #1016398/10
Text MD5: 236eb9dada0536bdffd0c0cff70b55a8
Transpilation MD5: 24732fe79eb7627ff3a6e514ac671edd
Author: stefan
Category: javax / stefan's os
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-17 00:57:40
Source code size: 444 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 487 / 14302
Version history: 9 change(s)
Referenced in: [show references]