32bit java app on 64bit platform

32bit java app on 64bit platform

Post by satinder.s » Sat, 12 Nov 2005 00:07:20


Would there be any issues in running a java app on a 64bit linux
platform that was initially developed on a 32 bit linux system. What
are the factors and/or dependencies to consider. Thanks.

Satinder
 
 
 

32bit java app on 64bit platform

Post by Roedy Gree » Sat, 12 Nov 2005 00:21:17

On 10 Nov 2005 07:07:20 -0800, XXXX@XXXXX.COM wrote, quoted
or indirectly quoted someone who said :


In theory, you should not notice any difference other than the ability
to have more objects and more RAM. In practice there might be some
problems with JNI.
--
Canadian Mind Products, Roedy Green.
http://www.yqcomputer.com/ Java custom programming, consulting and coaching.

 
 
 

32bit java app on 64bit platform

Post by Benj » Sat, 12 Nov 2005 04:04:07


To expound on the answer already provided, absolutely none. The size of
data types in java is already defined, and won't change based on the
platform you're running it on.

see
http://www.yqcomputer.com/

--
Of making better designs there is no end,
and much refactoring wearies the body.
 
 
 

32bit java app on 64bit platform

Post by NOBOD » Sun, 13 Nov 2005 11:23:46

Benji < XXXX@XXXXX.COM > wrote in




That is partially true only:
The java type won't change, true, but the space they take in ram may.
The jvm may have a different padding strategy to align it object
structure in ram, just like it did for 32 bits platform. When an object
(8 bytes) as a boolean (1 byte), it may take more than 9 bytes of ram in
reality (maybe 12 on 32 bits, maybe 16 on 64 bits). JVM dependant.