• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Building appication on 64 bit O.S..Performance issue

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all..
I have a web application developed using Struts and EJB. The underlying server is Jboss 4.0.2.
Earlier i was building and running my application on 32 bit JVM and 32 bit O.S (windows). But due to performance issues (heap space problems) we decided to shift to 64 bit platform as our application involves multithreading. So now we are using 64 bit JVM with 64 bit underlying O.S (windows server enterprise 2008). This time we observed great performance improvement with this.

Now my question is i am building my application on a different developer m/c which is 32 bit O.S + 32 bit JVM and i port those jar/war to the 64 bit scene above. In order to best utilize 64-bit capabilities further , am i need to build the application and run it on the same 64 bit m/c with 64 bit JVM ?
I am really confused with this.

Thanks in advance..
 
JavaMonitor Support
Posts: 251
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Prasad,

As far as I am aware, there is no difference for the programmers or even bytecode between 32/64 bit applications in Java. Just restart with the 64-bit JVM and go.
 
Saloon Keeper
Posts: 27752
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Write Once, Run Anywhere. Even on 64-bit systems.

Sun has both 32-bit and 64-bit Java options. Any Sun server can run the 32-bit JVM. If the machine is a Sparc 64-bit machine, there's a secondary package that can be installed that causes selected native methods to be supplanted by their 64-bit equivalents. Probably it also enhances the JVM itself, but I haven't looked at details lately. The important thing is that absolutely no user code modifications are required as long as it's "100% Pure Java" - no native code.

Actually, the Java virtual instruction set has always been more of a 64-bit architecture anyway.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic