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   

Travelled to 11 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz

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: 165 / 173
Version history: 3 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1015914 & http://1015914.tinybrain.de