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

6
LINES

< > BotCompany Repo | #1016749 // threadAllocatedMemoryEnabled

JavaX fragment (include)

sbool threadAllocatedMemoryEnabled() {
  ThreadMXBean bean = threadMXBean();
  
  ret bean instanceof com.sun.management.ThreadMXBean &&
    ((com.sun.management.ThreadMXBean) bean).isThreadAllocatedMemoryEnabled();
}

Author comment

Began life as a copy of #1016743

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: #1016749
Snippet name: threadAllocatedMemoryEnabled
Eternal ID of this version: #1016749/1
Text MD5: 44150d9f5acb7d363c24e95ae3db36a4
Author: stefan
Category: javax / monitoring
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-30 21:34:01
Source code size: 224 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 313 / 343
Referenced in: [show references]