Operating System - HP-UX
1832913 Members
2905 Online
110048 Solutions
New Discussion

Re: Benefit of 64-bit Java

 
Peter Callies
Occasional Contributor

Benefit of 64-bit Java

I know running the VM in 64-bit mode allows for large heap sizes. Aside from this, is there any benefit to using 64-bit mode?
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Benefit of 64-bit Java

It allows java to tie up memory faster by grabbing it in bigger chunks!!!

That joke aside, I suppose for large memory block operations, they will run faster.

Also, more memory can be addressed.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Paddy_1
Valued Contributor

Re: Benefit of 64-bit Java

(a)Extended Heap Space
(b) Arrays may be indexed by "long" values. That means arrays are NOT implicitly limited to no more than the highest 32-bit int value,namely, 2,147,483,647
(c)It also means that the JVM on that platform does not incur the emulation penalty of a 32-bit application on 64-bit hardware
The sufficiency of my merit is to know that my merit is NOT sufficient
Peter Callies
Occasional Contributor

Re: Benefit of 64-bit Java

I ran the SPEC JBB2000 benchmark in both 32 and 64-bit mode. 64-bit was about 1% faster which might have been purely coincidental as I didn't have complete ownership of the server while the benchmark was running. So I'm not sure if 64-bit really is faster. I'm going to try the benchmark again.