How are vmargs accessed in the VM?

Patrick Tullmann tullmann at cs.utah.edu
Tue Sep 12 10:26:24 PDT 2000


Hajime Inoue wrote:
> Can anyone tell me how this is done? 

In main.c vmargs.maxHeapSize is set based on the -mx parmeter...

$ grep "maxHeapSize" kaffe/kaffevm/*.c kaffe/kaffevm/*/*.c 
kaffe/kaffevm/mem/gc-mem.c:     gc_heap_limit = Kaffe_JavaVMArgs[0].maxHeapSize;

Hope this helps,

Pat

----- ----- ---- ---  ---  --   -    -      -         -               -
Pat Tullmann                                       tullmann at cs.utah.edu
     It said "Windows 95 or better" so FreeBSD should run on it.


More information about the kaffe mailing list