--- openjdk.orig/hotspot/src/cpu//zero/vm/shark_globals_zero.hpp	2009-09-10 15:36:58.658607552 +0100
+++ openjdk/hotspot/src/cpu/zero/vm/shark_globals_zero.hpp	2010-01-13 14:57:16.000000000 +0000
@@ -59,5 +59,5 @@
 define_pd_global(uintx, PermSize,                     12*M );
 define_pd_global(uintx, MaxPermSize,                  64*M );
 define_pd_global(bool,  NeverActAsServerClassMachine, true );
-define_pd_global(uintx, DefaultMaxRAM,                1*G  );
+define_pd_global(uint64_t,MaxRAM,                    1ULL*G);
 define_pd_global(bool,  CICompileOSR,                 true );
