[jboss-user] [Beginner's Corner] - Re: 32bit OpenJDK on 64bit OS?

Peter Johnson do-not-reply at jboss.com
Wed Sep 12 10:40:46 EDT 2012

Peter Johnson [https://community.jboss.org/people/peterj] created the discussion

"Re: 32bit OpenJDK on 64bit OS?"

To view the discussion, visit: https://community.jboss.org/message/759228#759228

There is a slight memory benefit to using a 32-bit JDK when using smaller heaps, mainly because the references are 32-bit and not 64-bit. But if I recall correctly, there is an option you can use on a 64-bit JDK to get it to use 32-bit references (and consequently also restrict the size of the heap you can get), though that option is probably only relevant for the Oracle JDK and not OpenJDK (you could check the sources and see, grep the sources for an existing -XX option - you should get one hit, and all of the options are in that same source file). Personally, I wouldn't attempt the hassle with running a 32-bit OpenJDK on Linux, I'd just go with the 64-bit.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120912/802727a6/attachment.html 

More information about the jboss-user mailing list