Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

many bytes gets allocated for a reference in java

Wed Apr 18, 2012 8:58 am

How many bytes gets allocated for a reference in java?



Re: java

Fri Apr 20, 2012 11:40 pm

The java standard doesn't specify how much memory a reference takes up (although, in practice it is usually 32 or 64 bits depending on your JVM - although some JVMs try to beat this)
Code:

http
://www.computer.org/portal/web/csdl/doi?doc=abs/proceedings/cgo/2004/2102/00/21020100abs.htm
 


Post a reply
  Related Posts  to : many bytes gets allocated for a reference in java
 reverse ,length of strings as number of bytes     -  
 object reference be cast to an interface reference     -  
 Parse URL in java get Protocol,File,Reference,Host and Port     -  
 Reference Parameters     -  
 Passing a Reference Variable     -  
 unset reference variables     -  
 Reference Array by index     -  
 Id reference annotation relationship     -  
 Reference between two schemas in oracle     -  
 Method Parameters,,,is it by value or reference???     -