When running a jvm with the -d64 flag on solaris (and probably other 64-bit platforms as well), the JVM exits just about immediately, reporting the following:
Error occurred during initialization of VM
Could not find -Xrun library: libyjpagent.so
I assume that this is because the agent library is a 32-bit binary, and you can't load 32-bit libraries into a 64-bit process. Any chance of creating a 64-bit version of the agent for solaris?
64-bit JVM support on solaris?
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
-
- Posts: 10
- Joined: Tue Oct 19, 2004 8:44 pm
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
-
- Posts: 10
- Joined: Tue Oct 19, 2004 8:44 pm
No - generally it's slower, at best, it's just as fast. However, the library that we're integrating creates some very, very large data structures (> 4gb), and for that library, being able to directly address more than 4gb of memory does give us huge performance gains - the alternative is to build a swapping system and partition the data. As above, that library is in C, not Java; but we need it to be callable from Java code.
For pure java apps that don't need tons of memory, there's really no reason to do 64-bit java.
For pure java apps that don't need tons of memory, there's really no reason to do 64-bit java.
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am