VM memory management on Win32 with G1

Heiko Wagner heiko.wagner at apis.de
Mon Apr 28 04:27:17 PDT 2008


Hi! I am evangelizing my company to use Java. I started using Java, in
combination with our legacy system, via the invocation api and call methods
using JNI. The platform is 32bit Windows. One problem is that the legacy
software allocates pretty much of the address space using a VirtualAlloc api
call, so there is no large contiguous space left for Java. As far as I know
the 2nd edition of the Java VM spec removes the need to have the heap in one
contiguous segment. As far as my understanding goes the G1 collector should
make a non contiguous heap allocation possible. I am right with my
assumption? It it possible to enable such a memory layout in Java 7?


Regards
Heiko




More information about the hotspot-gc-use mailing list