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

6
LINES

< > BotCompany Repo | #1015914 // oshi_currentProcessResidentSize

JavaX fragment (include)

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

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: 453 / 453
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1019028 - oshi_currentProcessStartTime
#1025549 - oshi_currentProcessResidentSize_noZGCFix