> From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
> Subject: Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

> A 32-bit process, using 32-bit pointers, will enjoy a 2x speedup for
> those types of data.

Also, a Java int, when allocated on the stack, must take up the same number of 
bits as a pointer.  Consequently, in a 64-bit JVM the stack slots are bigger 
for primitive values, and have unused bits in them for everything except 
pointers.  (Allocations on the heap do not include the unused bits, at least in 
current JVM versions.)

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

Reply via email to