Re: sizeof in java



Kulbir Singh wrote:
Hi friends,

i have one doubt. java does not have sizeof(). so how can i know the
size of the objects in java.

thanks


already addressed in comp.lang.java.programmer.

followup set to comp.lang.java.programmer.
.



Relevant Pages

  • Re: sizeof in java! need help
    ... Kulbir wrote: ... java does not have sizeof(). ... followup set to comp.lang.java.programmer. ...
    (comp.lang.java.help)
  • Re: Riding JNI[Java Native Interface]: Java to C and back
    ... > I am trying to obtain the size of a java object in C by using JNI. ... > we do not have a proper implementation of this in java[other than obj ... All sizeof does in C is tell you the size of C's types, ...
    (comp.lang.c)
  • Re: sizeof in java
    ... Kulbir wrote: ... java does not have sizeof(). ... MindIQ Corporation ...
    (comp.lang.java.programmer)
  • size of techniques
    ... I saw an article in Java World about making your own "sizeof" to get ... the size of objects in memory. ... I believe some profilers do this as ...
    (comp.lang.java.programmer)
  • Re: Strings are too small
    ... > Well, I've been using Java for a couple of years, and aren't familiar with ... > the STL, but here goes: ... > Does sizeof() really check the length of the string, ...
    (alt.comp.lang.learn.c-cpp)