ByteCode.News
Submit RSS Atom Sign in

Back to the channels

#java

  1. dreamreal ~sizeof
  2. javabot Getting the size of objects in Java is usually not worth the effort. With that said, google "sizeof for java" and you can find various attempts at calculating how large a given object graph is, but it's not likely to be 100% accurate. Also see ~jol .
  3. dreamreal ~jol
  4. javabot Java Object Layout (JOL) is a tool for analyzing objects' memory layout in the JVM. For more info see https://github.com/openjdk/jol
  5. cheeser it's even harder now, i think, than went that factoid was written.
  6. cheeser ~info sizeof
  7. javabot sizeof was added by: dreamreal on 06 Apr 2022 at 09:01 and has a literal value of: <reply>Getting the size of objects in Java is usually not worth the effort. With that said, google "sizeof for java" and you can find various attempts at calculating how large a given object graph is, but it's not likely to be 100% accurate. Also see ~jol .
  8. cheeser only 4 years since it was updated. not so long ago then.
  9. Para just lol
  10. Para I mean lust jol.
  11. dreamreal well, I'd be using it on java 17, so ...
  12. dreamreal plus I'd want to overshoot if inaccuracy was involved
  13. jbosmans dreamreal, you'd be using java 17? ;-)
  14. jbosmans as in, by choice :-P
  15. dreamreal jbosmans: no.
  16. dreamreal I would be using java 17, but not by choice.
  17. jbosmans i can understand "that" :-D
  18. jbosmans "a man's gotta do what he's gotta do" etc
  19. jbosmans 17 tho !
  20. dreamreal in my case, it's "comply with legal requirements"
  21. jbosmans i kid :)
  22. jbosmans yeah makes sense and assumed as such