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

4
LINES

< > BotCompany Repo | #1011523 // java_pointerSize - size of a pointer in bytes

JavaX fragment (include)

static int java_pointerSize() {
  bool c = compressedOOPSEnabled();
  ret compressedOOPSEnabled_is64bitHotSpot && !c ? 8 : 4;
}

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: #1011523
Snippet name: java_pointerSize - size of a pointer in bytes
Eternal ID of this version: #1011523/1
Text MD5: de0e941413791a07d70698d4434e6d0b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-30 23:08:38
Source code size: 130 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 385 / 421
Referenced in: [show references]