Katja probably is using an old revision, whose command line option switch is -XD for vm.dlls.
Thanks, xiaofeng On 09 Mar 2007 13:35:54 +0300, Egor Pasko <[EMAIL PROTECTED]> wrote:
On the 0x294 day of Apache Harmony Katja Sh wrote: > Does it work for Linux builds? > I've already tried this key, that is what i got when I tried to run a simple > test(libgckat.so is my built GC): works for me: [bin]$ ./java -XX:vm.dlls=default/libgc_gen.so Hello HWD [bin]$ ./java -showversion -XX:vm.dlls=default/libgc_cc.so Hello Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable. java version "1.5.0" pre-alpha : not complete or compatible svn = r515555, (Mar 7 2007), Linux/ia32/gcc 4.0.3, debug build http://incubator.apache.org/harmony HWD [bin]$ uname -a Linux pasko-laptop 2.6.15-28-686 #1 SMP PREEMPT Thu Feb 1 16:14:07 UTC 2007 i686 GNU/Linux > > [EMAIL PROTECTED] bin]$ ./java -Dvm.finalize=0 -XX:vm.dlls=libgckat.so Force > Unknown option -XX:vm.dlls=libgckat.so > Use java -help to get help on command line options > > How can I resolve this? > > Thank you in advance. > > On 3/8/07, Gregory Shimansky <[EMAIL PROTECTED]> wrote: > > > > Katja Sh wrote: > > > Hi all, > > > I'm just a student writing my course work, my intent is to write a GC > > and > > > run it within Harmony. > > > GC module is written and built together with DRLVM on Linux. > > > The question is: how to make VM to launch and use my GC? I guess there > > are > > > some magic VM startup keys, but I cannot find it. > > > Please help! > > > > There is a VM property "vm.dlls" that you can set like -XX:vm.dlls="..." > > to replace the default garbage collector. > > > > -- > > Gregory > > > > -- Egor Pasko
