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

5
LINES

< > BotCompany Repo | #1024092 // guessDeepObjectSize_shouldIgnoreObject

JavaX fragment (include)

sbool guessDeepObjectSize_shouldIgnoreObject(O o) {
  ret o instanceof Component // skipping AWT for now
    || o instanceof Thread || o instanceof ThreadLocal
    || startsWith(className(o), "sun.");
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1024092
Snippet name: guessDeepObjectSize_shouldIgnoreObject
Eternal ID of this version: #1024092/2
Text MD5: 9ee92e681e1118eec51c60d3c9411f93
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-12 17:59:44
Source code size: 206 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 191 / 247
Version history: 1 change(s)
Referenced in: [show references]