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

6
LINES

< > BotCompany Repo | #1015914 // oshi_currentProcessResidentSize

JavaX fragment (include)

1  
static long oshi_currentProcessResidentSize() {
2  
  if (is64BitLinux() && contains(vmArgs(), "-XX:+UseZGC"))
3  
    ret linux_rssFixedForZGC();
4  
  else
5  
    ret oshi_currentProcess().getResidentSetSize();
6  
}

Author comment

Began life as a copy of #1015911

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: #1015914
Snippet name: oshi_currentProcessResidentSize
Eternal ID of this version: #1015914/4
Text MD5: 992d0bdc8e9bf25728d963f4b5713ba0
Author: stefan
Category: javax / os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-12 01:26:26
Source code size: 204 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 452 / 452
Version history: 3 change(s)
Referenced in: [show references]