Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  Will jogl performance differ between jdk 1.6 on x64 or i586 linux  (Read 793 times)
0 Members and 2 Guests are viewing this topic.
Offline john.preston

Full Member
**

Posts: 164


Java games rock!


« on: 2006-12-21 20:56:28 »

I'm presently running a jogl app in jdk 1.6 on top of 32 bit linux (Fedora Core 6) and want to know if I will see any difference in the jogl app if I run jdk 1.6 on top of x_64 linux.
Offline Ken Russell

JGO Kernel
*****

Posts: 3446
Medals: 3


Java games rock!


« Reply #1 on: 2006-12-21 21:42:00 »

I don't think so. There are various tradeoffs between x86 and x86_64; there are more machine registers available in 64-bit mode, but all pointers (including Java object references) become twice as large in the 64-bit Java HotSpot VM. In general for memory-intensive applications there is currently about a 10% performance reduction when running the 64-bit JVM compared to the 32-bit one.

Unless you really need more than 4 GB of addressable space in your application, you're probably better off sticking with the 32-bit JVM.
Offline john.preston

Full Member
**

Posts: 164


Java games rock!


« Reply #2 on: 2006-12-21 21:51:18 »

So if I had an app that wanted to use a Java heap size of greater than 4GB I would need the 64 bit JVM's. The 32 bit JVM wouldn't work. Yes?
Games published by our own members! Go get 'em!
Offline Ken Russell

JGO Kernel
*****

Posts: 3446
Medals: 3


Java games rock!


« Reply #3 on: 2006-12-22 01:55:11 »

That's correct. You'd get an error during initialization of the JVM because it wouldn't be able to support your -Xmx setting.
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.078 seconds with 18 queries.