Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 86582 invoked from network); 6 Oct 2006 16:41:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Oct 2006 16:41:15 -0000 Received: (qmail 81641 invoked by uid 500); 6 Oct 2006 16:41:12 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 81601 invoked by uid 500); 6 Oct 2006 16:41:12 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 81590 invoked by uid 99); 6 Oct 2006 16:41:12 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Oct 2006 09:41:12 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [216.86.168.179] ([216.86.168.179:2695] helo=mxout-04.mxes.net) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 0D/D5-24193-32786254 for ; Fri, 06 Oct 2006 09:41:08 -0700 Received: from [192.168.1.102] (unknown [67.86.14.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id EA9C5A321F for ; Fri, 6 Oct 2006 12:41:04 -0400 (EDT) Message-ID: <45268722.9030804@pobox.com> Date: Fri, 06 Oct 2006 12:41:06 -0400 From: "Geir Magnusson Jr." Reply-To: geir@pobox.com User-Agent: Thunderbird 1.5.0.7 (Macintosh/20060909) MIME-Version: 1.0 To: harmony-dev@incubator.apache.org Subject: [drlvm] the big soup of VM properties (HARMONY-1626) References: <4525EB2E.6020301@pobox.com> <452605A2.7020805@pobox.com> <45261209.1000606@pobox.com> <452620B2.5040603@pobox.com> <452651B9.7080506@pobox.com> <4526848E.7070603@pobox.com> In-Reply-To: <4526848E.7070603@pobox.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N So one of the interesting things that jumped out of me is the number of various library and boot classpath properties that we have floating around, and I'd like to 1) understand this 2) get rid of all the ones that we don't need Is there a defined set we need to support? Anyone have suggestions? geir Geir Magnusson Jr. wrote: > Fine. Tell me what's wrong with mine. Why? Not because I care that > much, but because this soup of properties is a mess, and this is a good > time to clean this up. > > > Actually, I'll start a new thread. Please participate. :) > > geir > > > Alexey Varlamov wrote: >> Actually you'd only need 2 changes over my patch: >> 1) change the path to kernel.jar in classloader.cpp (and in build >> scripts accordingly :); >> 2) add smth like >> "-Dorg.apache.harmony.vm.path=%JAVA_HOME%/bin/%VM_DIR%" to >> harmonyvm.properties >> >> 2006/10/6, Geir Magnusson Jr. : >>> Ok - I'll grab your -Xbootclasspath stuff... >>> >>> >>> Alexey Varlamov wrote: >>> > (Cross-posted from JIRA): >>> > OK, we should combine both patches. The >>> > "-Dorg.apache.harmony.vm.vmdir=" of yours is logical continuation >>> > towards "multiVM-WS" feature. And my patch more correctly handles >>> > "-Xbootclasspath[/ap]:" options. >>> > Will refresh patch after 1582 if your mind is easy now :) >>> > >>> > 2006/10/6, Geir Magnusson Jr. : >>> >> not a worry - I learned a lot >>> >> >>> >> Take a look at what I did and see if it's right :) >>> >> >>> >> geir >>> >> >>> >> >>> >> Alexey Varlamov wrote: >>> >> > Oh, I'd had not such happy lunch time knowing about your >>> torments ;( >>> >> > I thought I indicated my intentions about this on the list and >>> did'n >>> >> > bother to state this in the JIRA. >>> >> > >>> >> > 2006/10/6, Geir Magnusson Jr. : >>> >> >> I have this almost done so that it uses the boot classpath >>> >> generated by >>> >> >> luni. Only remaining peace is to add kernel.jar to it, and I'll do >>> >> that >>> >> >> so it comes from the VMDIR - we wanted to move kernel.jar there >>> anyway >>> >> >> for cleaner deployment. >>> >> >> >>> >> >> I just couldn't stop... no mental peace. :) >>> >> >> >>> >> >> >>> >> >> Geir Magnusson Jr. wrote: >>> >> >> > >>> >> >> > >>> >> >> > Alexey Varlamov wrote: >>> >> >> >> 2006/10/6, Geir Magnusson Jr. : >>> >> >> >>> I'm trying to trace through the boot sequence chasing some >>> boot >>> >> >> >>> classpath property thing (luniglob sets it, and I can't figure >>> >> how it >>> >> >> >>> gets to us...), and I'm too tired, too dumb, or both to figure >>> >> >> this out. >>> >> >> >> >>> >> >> >> Geir, >>> >> >> >> To avoid possible duplication - there is HARMONY-1626 about >>> smth >>> >> very >>> >> >> >> similar, and I'm ready to submit a patch, just waiting for >>> H-1582. >>> >> >> > >>> >> >> > Ah - I was looking at this very JIRA. I didn't realize you were >>> >> >> working >>> >> >> > on it. PLease submit the patch now just so i can see it so i >>> can >>> >> to to >>> >> >> > bed w/ a peaceful mind. >>> >> >> > >>> >> >> > You can submit another after 1582 - also, please link to 1582 >>> >> >> > >>> >> >> > geir >>> >> >> > >>> >> >> >> >>> >> >> >>> >>> >> >> >>> Launcher calls JNI_CreateJavaVM. In our >>> >> vmcore/src/jni/jni.cpp, we >>> >> >> >>> define it, and it is : >>> >> >> >>> >>> >> >> >>> VMEXPORT jint >>> >> >> >>> JNICALL JNI_CreateJavaVM(JavaVM **p_vm, JNIEnv **p_env, void >>> >> >> *vm_args) { >>> >> >> >>> >>> >> >> >>> static int called = 0; >>> >> >> >>> >>> >> >> >>> init_log_system(); >>> >> >> >>> TRACE2("jni", "CreateJavaVM called"); >>> >> >> >>> if (called) { >>> >> >> >>> ASSERT(0, "Not implemented"); >>> >> >> >>> return JNI_ERR; >>> >> >> >>> } else { >>> >> >> >>> create_vm(&env, (JavaVMInitArgs *)vm_args); >>> >> >> >>> *p_env = &jni_env; >>> >> >> >>> *p_vm = jni_env.vm; >>> >> >> >>> return JNI_OK; >>> >> >> >>> } >>> >> >> >>> } >>> >> >> >>> >>> >> >> >>> For the life of me, I can't figure out where "env" is defined >>> >> or set. >>> >> >> >>> create_vm() uses it... >>> >> >> >>> >>> >> >> >>> Can anyone give me a hint? Eclipse's C++ plugin seems to be >>> >> useless >>> >> >> >>> here... >>> >> >> >>> >>> >> >> >>> geir >>> >> >> >>> >>> >> >> >>> >>> >> --------------------------------------------------------------------- >>> >> >> >>> Terms of use : >>> http://incubator.apache.org/harmony/mailing.html >>> >> >> >>> To unsubscribe, e-mail: >>> >> harmony-dev-unsubscribe@incubator.apache.org >>> >> >> >>> For additional commands, e-mail: >>> >> >> harmony-dev-help@incubator.apache.org >>> >> >> >>> >>> >> >> >>> >>> >> >> >> >>> >> >> >> >>> >> --------------------------------------------------------------------- >>> >> >> >> Terms of use : http://incubator.apache.org/harmony/mailing.html >>> >> >> >> To unsubscribe, e-mail: >>> >> harmony-dev-unsubscribe@incubator.apache.org >>> >> >> >> For additional commands, e-mail: >>> >> harmony-dev-help@incubator.apache.org >>> >> >> >> >>> >> >> > >>> >> >> > >>> >> --------------------------------------------------------------------- >>> >> >> > Terms of use : http://incubator.apache.org/harmony/mailing.html >>> >> >> > To unsubscribe, e-mail: >>> harmony-dev-unsubscribe@incubator.apache.org >>> >> >> > For additional commands, e-mail: >>> >> harmony-dev-help@incubator.apache.org >>> >> >> > >>> >> >> >>> >> >> >>> --------------------------------------------------------------------- >>> >> >> Terms of use : http://incubator.apache.org/harmony/mailing.html >>> >> >> To unsubscribe, e-mail: >>> harmony-dev-unsubscribe@incubator.apache.org >>> >> >> For additional commands, e-mail: >>> harmony-dev-help@incubator.apache.org >>> >> >> >>> >> >> >>> >> > >>> >> > >>> --------------------------------------------------------------------- >>> >> > Terms of use : http://incubator.apache.org/harmony/mailing.html >>> >> > To unsubscribe, e-mail: >>> harmony-dev-unsubscribe@incubator.apache.org >>> >> > For additional commands, e-mail: >>> harmony-dev-help@incubator.apache.org >>> >> > >>> >> >>> >> --------------------------------------------------------------------- >>> >> Terms of use : http://incubator.apache.org/harmony/mailing.html >>> >> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org >>> >> For additional commands, e-mail: >>> harmony-dev-help@incubator.apache.org >>> >> >>> >> >>> > >>> > --------------------------------------------------------------------- >>> > Terms of use : http://incubator.apache.org/harmony/mailing.html >>> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org >>> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org >>> > >>> >>> --------------------------------------------------------------------- >>> Terms of use : http://incubator.apache.org/harmony/mailing.html >>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org >>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org >>> >>> >> >> --------------------------------------------------------------------- >> Terms of use : http://incubator.apache.org/harmony/mailing.html >> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org >> For additional commands, e-mail: harmony-dev-help@incubator.apache.org >> > > --------------------------------------------------------------------- > Terms of use : http://incubator.apache.org/harmony/mailing.html > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org