RE: [drlvm] [launcher] Executable hangs

2006-10-02 Thread Armand Navabi
There are clean sources unzipped at drlvm\build\pre-copied\lnx\APR\apr-1.2.6\ and (slighly) patched ones (actually used by VM build) at drlvm\build\lnx_ia32_gcc_debug\semis\extra\apr\src\ See README.dev in those location on how to run tests. Or - just a wild thought - hack

Re: [drlvm] HARMONY-1559 patch causes SIGABRT in VM code

2006-10-02 Thread Alexey Varlamov
2006/9/28, Elena Semukhina [EMAIL PROTECTED]: The issue has gone away for me too, false alarm possibly... Unfortunately the alarm was not false. Today I got the same failure: ... [junit] SIGABRT in VM code. [junit] java:

Re: [drlvm] HARMONY-1559 patch causes SIGABRT in VM code

2006-10-02 Thread Alexey Varlamov
Today this crash is reproduced quite stably during build.sh kernel.test. But it always passes if run standalone :( Regarding 1559 patch, I looked through it and found nothing suspicious. The only change to interpreter itself was actually preliminary fix for Harmony-1561. This is not good (1559

[drlvm][jitrino]getting field descriptor in translator

2006-10-02 Thread Maksim Ananjev
Hi! I'm developing package of multidimensional arrays according to JSR-83 and I want it to be optimized in JIT-compiler. The idea is to eliminate redundant boundchecks in a sort of way already implemented ABCD algorithm eliminates redundant boundchecks in one-dimensional arrays. So I need to

Re: [classlib][test] Test input/output files location

2006-10-02 Thread Denis Kishenko
Thanks a lot. P.S. It would be good to add this instruction to conventsion. 2006/9/29, Paulex Yang [EMAIL PROTECTED]: Denis Kishenko wrote: I am going to fix some commented tests from java.awt.geom package. I have several organizational questions before start to do. 1. Where is the best

Re: [classlib][auth]LoginContext should always invoke the LoginModules?

2006-10-02 Thread Alex Astapchuk
Hi Stepan, all, I think the spec. statement: A LoginContext should not be used to authenticate more than one Subject. was taken too strict: reusing LoginContext object to get the same set of credentials seemed odd. The decision was mostly about resources. Indeed, the spec does not specify

Re: [classlib][test] Test input/output files location

2006-10-02 Thread Alexey Petrenko
2006/9/29, Paulex Yang [EMAIL PROTECTED]: Denis Kishenko wrote: I am going to fix some commented tests from java.awt.geom package. I have several organizational questions before start to do. 1. Where is the best place to put test resource files (golden files)? Testing conventions [1] keep

Re: [general] Using the HDK ( was Re: [general] jre and hdk snapshots posted to general snapshot site )

2006-10-02 Thread Mark Hindess
On 29 September 2006 at 15:26, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Just renaming the thread On Sep 29, 2006, at 9:17 AM, Vladimir Ivanov wrote: today I tries to build and test one module with HDK. It almost works :). Small instruction to reproduce: 1) checkout trunk -N,

Re: [classlib][test] Test input/output files location

2006-10-02 Thread Mark Hindess
On 28 September 2006 at 15:44, Denis Kishenko [EMAIL PROTECTED] wrote: I am going to fix some commented tests from java.awt.geom package. I have several organizational questions before start to do. 1. Where is the best place to put test resource files (golden files)? Testing conventions [1]

Re: [classlib][test] Test input/output files location

2006-10-02 Thread Denis Kishenko
Alexey, thanks it will be very useful 2006/10/2, Alexey Petrenko [EMAIL PROTECTED]: 2006/9/29, Paulex Yang [EMAIL PROTECTED]: Denis Kishenko wrote: I am going to fix some commented tests from java.awt.geom package. I have several organizational questions before start to do. 1. Where is

Re: [classlib][build] Improvements to build system

2006-10-02 Thread Oliver Deakin
Mark Hindess wrote: On 29 September 2006 at 13:14, Oliver Deakin [EMAIL PROTECTED] wrote: Hi all - Ive been away from the list this week, so sorry if Ive missed a few mails. Ill try and get back to them as soon as possible. In the meantime Ive been thinking about the classlib build system,

Re: [drlvm] HARMONY-1559 patch causes SIGABRT in VM code

2006-10-02 Thread Alexey Varlamov
Trace logging gives some more details: GC enumeration in interpreter stack: 0x0x413ee828 referenced from root = 0x0x52721d4c info = 0 0x0x413ee828 info = 0 0x0x413ee828 is java/lang/Class move 0x0x413ee828 to 0x0x41253d24 info = 1 0x(nil) referenced from object =

Re: [general] Using the HDK ( was Re: [general] jre and hdk snapshots posted to general snapshot site )

2006-10-02 Thread Vladimir Ivanov
On 10/2/06, Mark Hindess [EMAIL PROTECTED] wrote: On 29 September 2006 at 15:26, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Just renaming the thread On Sep 29, 2006, at 9:17 AM, Vladimir Ivanov wrote: today I tries to build and test one module with HDK. It almost works :). Small

Re: [drlvm] HARMONY-1582 - invocation API for DRLVM CHECKPOINT

2006-10-02 Thread Evgueni Brevnov
Andrey, Just to be clear I agree with you it is more convenient if jthread_create takes JNIEnv instead of JavaVM. It reflects that current thread has been attached already. Do you think it makes sense to get rid of JNIEnv and use jthread_get_JNI_env in that case? Regarding jthread_attach. I

Re: [General VM] GC strategy:how to garbage collect short-lived objects quickly.

2006-10-02 Thread Ivan Volosyuk
On 10/1/06, FaeLLe [EMAIL PROTECTED] wrote: Perhaps he means clone the object to a WeakReference then null the original object ? That way the only existing copy of that object will be a WeakReference with my limited understanding of GC concepts would that no be benificial ? Regards, -

Re: svn commit: r450941 - in /incubator/harmony/enhanced/drlvm/trunk/vm: gc/src/ vmcore/include/ vmcore/src/util/

2006-10-02 Thread Ivan Volosyuk
Geir, it was JIRA 1372. Currently it is marked as closed after these commits. It looks like it doesn't compile due to the same mistake Weldon made after me. To new files was not added to the SVN and only existed in local copy of repository. Please deal with the JIRA, either reopen it or commit

Re: [drlvm] HARMONY-1559 patch causes SIGABRT in VM code

2006-10-02 Thread Alexey Varlamov
2006/10/2, Alexey Varlamov [EMAIL PROTECTED]: Trace logging gives some more details: GC enumeration in interpreter stack: 0x0x413ee828 referenced from root = 0x0x52721d4c info = 0 0x0x413ee828 info = 0 0x0x413ee828 is java/lang/Class move 0x0x413ee828 to 0x0x41253d24 info =

Re: [general] Using the HDK ( was Re: [general] jre and hdk snapshots posted to general snapshot site )

2006-10-02 Thread Alexei Zakharov
Hi, 2006/10/2, Vladimir Ivanov [EMAIL PROTECTED]: On 10/2/06, Mark Hindess [EMAIL PROTECTED] wrote: I think we need more than one tests.jar. In fact, I think we need more than one tests.jar per module since some tests need to be on the bootclasspath while others do not (and should not).

Re: [general] Using the HDK ( was Re: [general] jre and hdk snapshots posted to general snapshot site )

2006-10-02 Thread Vladimir Ivanov
On 10/2/06, Alexei Zakharov [EMAIL PROTECTED] wrote: Juist my two cents. Some test even from such a high-level module as beans fail if they run from bootclasspath (BeansTest for example). Moreover, they crash DRLVM :) Seems, it is should be evaluated by VM peoples. The vm crash is not good

Re: [general] Using the HDK ( was Re: [general] jre and hdk snapshots posted to general snapshot site )

2006-10-02 Thread Alexei Zakharov
Agree. In case somebody is interested: org.apache.harmony.beans.tests.java.beans.IntrospectionExceptionTest (from bootclasspath), harmony-hdk-r450941, WinXP. Crash info: == [junit] An unhandled error (4) has occurred. [junit] HyGeneric_Signal_Number=0004 [junit]

[classlib][awt] Non bug??? BufferedImage constructor throws different exceptions on RI and Harmony

2006-10-02 Thread Denis Kishenko
Hi all Constructor of BufferedImage throws different exceptions on RI and Harmony if width or height is negative. Code to reproduce new BufferedImage(8, -7, type 1-13) So we have 1-4 IllegalArgumentException both 5-7 RI - NegativeArraySizeException, Harmony - RasterFormatException 8-9

Re: [drlvm] HARMONY-1559 patch causes SIGABRT in VM code

2006-10-02 Thread Elena Semukhina
This issue is accompanied now with similar crash on Windows (interpreter): [echo] RUNNING : java.lang.RuntimeTest [junit] This application has requested the Runtime to terminate it in an unu sual way. [junit] Please contact the application's support team for more information.

Re: [general] Using the HDK ( was Re: [general] jre and hdk snapshots posted to general snapshot site )

2006-10-02 Thread Geir Magnusson Jr.
Alexei Zakharov wrote: Hi, 2006/10/2, Vladimir Ivanov [EMAIL PROTECTED]: On 10/2/06, Mark Hindess [EMAIL PROTECTED] wrote: I think we need more than one tests.jar. In fact, I think we need more than one tests.jar per module since some tests need to be on the bootclasspath while others

Re: [classlib][jmx] Options for going forward w/ MX4J

2006-10-02 Thread Geir Magnusson Jr.
Thanks for the comments, Simone. I'm hoping that at some point in the near future, we can think about doing other things that bring the communities closer together, but this is a great first step. geir Simone Bordet wrote: Hi, On 9/26/06, Tim Ellison [EMAIL PROTECTED] wrote: Geir

Re: svn commit: r450941 - in /incubator/harmony/enhanced/drlvm/trunk/vm: gc/src/ vmcore/include/ vmcore/src/util/

2006-10-02 Thread Geir Magnusson Jr.
definitely top of my list for this morning. I'm hoping it was nothing more than what you describe. geir Ivan Volosyuk wrote: Geir, it was JIRA 1372. Currently it is marked as closed after these commits. It looks like it doesn't compile due to the same mistake Weldon made after me. To new

Re: [general] Using the HDK ( was Re: [general] jre and hdk snapshots posted to general snapshot site )

2006-10-02 Thread Mark Hindess
On 2 October 2006 at 8:52, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: I wonder if we can generate some kind of dependency graph as part of the build, so that if testing in a module, it can figure out the set of modules to test that are n-away dependent. (IOW, test module + 1-away

Re: [general] Using the HDK ( was Re: [general] jre and hdk snapshots posted to general snapshot site )

2006-10-02 Thread Egor Pasko
On the 0x1F6 day of Apache Harmony Alexei Zakharov wrote: Agree. In case somebody is interested: org.apache.harmony.beans.tests.java.beans.IntrospectionExceptionTest (from bootclasspath), harmony-hdk-r450941, WinXP. Is that reproducible on Linux? how does it run on pure OPT (-Xem:opt), JET?

Re: [drlvm][jit] MMTk-style magics implementation in Jitrino.OPT compiler

2006-10-02 Thread Mikhail Fursov
On 9/30/06, Weldon Washburn [EMAIL PROTECTED] wrote: Good! I look forward to seeing vm helpers written in vmmagic. Yes, this is the final goal and I hope we will start the implementation of VM helpers using magics package this week. The only item left to do is to restore JET support for your

Re: [general] Using the HDK ( was Re: [general] jre and hdk snapshots posted to general snapshot site )

2006-10-02 Thread Egor Pasko
On the 0x1F6 day of Apache Harmony Alexei Zakharov wrote: The same result with the -Xem:opt. Could you file a JIRA for that, please? With steps to reproduce. Please, also check with -Xem:jet. Thanks for pointing out failures like that. The exact command in my environment was (WinXP SP2):

Re: [classlib] removing \t from sources

2006-10-02 Thread Alexei Zakharov
What do you mean? Convert \t to something? If so please see the new fully customized version of my mega-script :-) The usage pattern in your case will be: ant -f tabs2spaces_v2.xml -Dsrc.dir=dir with sources -Dpattern= \t Regards, 2006/10/2, Alexey Petrenko [EMAIL PROTECTED]: Does it work

Re: [drlvm] HARMONY-1559 patch causes SIGABRT in VM code

2006-10-02 Thread Ivan Volosyuk
I have fixed a problem in gc_alloc(), see HARMONY-1661. After that test passes on my computer. -- Ivan On 10/2/06, Ivan Volosyuk [EMAIL PROTECTED] wrote: Ok, I will look at the issue today. -- Ivan On 10/2/06, Alexey Varlamov [EMAIL PROTECTED] wrote: 2006/10/2, Alexey Varlamov [EMAIL

[drlvm] apr_dso_load error (path address out of bounds)

2006-10-02 Thread Armand Navabi
I am still having trouble getting hellworld to run. Currently the problem is that for some reason in dll_jit.cpp on line 62, where the call is made to apr_dso_load, the second parameter which is the path to the dll becomes address out of bounds in the apr_dso_load procedure. Egor suggested

Re: [classlib] Should URLClassLoader convert class names? (See HARMONY-1622)

2006-10-02 Thread Geir Magnusson Jr.
Tim Ellison wrote: FWIW the version in the IBM VME explicitly converts '/' to '.' in the Main-Class: value before looking up the class. I suggest we support both, IMHO nobody will be relying on it failing with '/'s. Sure, but the question is where. JarRunner or ClassLoader... geir

Re: [classlib] Should URLClassLoader convert class names? (See HARMONY-1622)

2006-10-02 Thread Tim Ellison
Geir Magnusson Jr. wrote: Tim Ellison wrote: FWIW the version in the IBM VME explicitly converts '/' to '.' in the Main-Class: value before looking up the class. I suggest we support both, IMHO nobody will be relying on it failing with '/'s. Sure, but the question is where. JarRunner or

Re: [classlib] Should URLClassLoader convert class names? (See HARMONY-1622)

2006-10-02 Thread Geir Magnusson Jr.
Ya know... I looked and looked for that in the classLoader docs... I kept skipping over it for some reason Agreed. Tim Ellison wrote: Geir Magnusson Jr. wrote: Tim Ellison wrote: FWIW the version in the IBM VME explicitly converts '/' to '.' in the Main-Class: value before looking up the

Re: [drlvm][jit] MMTk-style magics implementation in Jitrino.OPT compiler

2006-10-02 Thread Weldon Washburn
Mikhail, I just now committed magic5.diff, H1489. Let me know when the next JIRA is ready. I want your mods committed so that I can resume MMTk integration. Thanks Weldon On 10/2/06, Mikhail Fursov [EMAIL PROTECTED] wrote: I forgot to test the last patch on Linux. Now the build is

Re: [general] jre and hdk snapshots posted to general snapshot site

2006-10-02 Thread Vladimir Ivanov
On 10/2/06, Oliver Deakin [EMAIL PROTECTED] wrote: ... Does this sound reasonable? Seems, that everybody thinking about separated test jar for each module (I proposed one jar as first step onlyJ). Now, we should implement this. If you need any help I'm a volunteer. thanks, Vladimir

Re: [vote] HARMONY-1410 : JDWP agent for DRLVM

2006-10-02 Thread Mikhail Loenko
+1 2006/9/28, Geir Magnusson Jr. [EMAIL PROTECTED]: BCC and ACQs are in. What say ye? Would it be nice to debug using eclipse debugger in DRLVM? [ ] + 1 accept this contribution into the project [ ] -1 don't accept (please give reason) Vote runs usual 3 days unless protest or early

[OFFTOPIC] [legal] a solution to our licensing issues with classpath

2006-10-02 Thread Geir Magnusson Jr.
http://www.mysql.com/company/legal/licensing/foss-exception.html So it seems that the GPL is compatible with the Apache License, because MySQL says so, at least for Apache code they want to use, like APR. I assume this means you could take a small snippet of MySQL, and use it as a bridge

Re: [drlvm][exceptions] unexpected 'VM Crashed!' message

2006-10-02 Thread Evgueni Brevnov
It is definitely fixed in https://issues.apache.org/jira/browse/HARMONY-1582 :-) Evgueni On 10/3/06, Vladimir Ivanov [EMAIL PROTECTED] wrote: I was sure that everyone know about it (I saw it ~1 week ago) and tries to fix. Issue http://issues.apache.org/jira/browse/HARMONY-1662 was created.

Re: [drlvm][exceptions] unexpected 'VM Crashed!' message

2006-10-02 Thread Vladimir Ivanov
On 10/3/06, Evgueni Brevnov [EMAIL PROTECTED] wrote: It is definitely fixed in https://issues.apache.org/jira/browse/HARMONY-1582 :-) Evgueni So I correct remember that it is already discussed :) but was not integrated yet. Vladimir On 10/3/06, Vladimir Ivanov [EMAIL PROTECTED] wrote: I

Re: [classlib][build] Improvements to build system

2006-10-02 Thread Alexey Varlamov
Guys, I have a kind request for test target customization: 1) need ability to pass extra arguments to tested jre. This is useful for testing various configurations of VM, e.g. different execution engines in DRLVM. 2) easy switching between fork modes perTest once. This is actual for testing