short pointers (32 bit) in 64 bit apps

Clemens Eisserer linuxhippy@gmail.com
Mon May 24 21:52:00 GMT 2010


Hi Phi,

> On a 64bits system, how an ILP64 (or LP64) compiled application can be
> sure that returned addr from the operating system can be squeezed?

In java you can limit the amount of RAM which may be allocated for a
single JVM instance, and allocations are aligned on 2-word boundries.
Yes, they have to do a bit of encoding/decoding but for typical java
applications speedups of 5-25% are not uncommon,

- Clemens



More information about the Gcc-help mailing list