Re: [drlvm] Trouble Building DRLVM

2006-09-20 Thread Geir Magnusson Jr.
Ok - so to summarize, there are two things here : 1) We need to find a clean way to get bootclasspath.properties. I don't like JAVA_HOME. I'd like to see if we can simply presume a structure, with an override property for people that want to do weird things. 2) We seem to have a simple

Re: [drlvm] Trouble Building DRLVM

2006-09-20 Thread Geir Magnusson Jr.
I'd prefer to understand the problem first, before we start doing things like this. As time said in a later not, the bin/vm directory is for the VM stuff, not the general stuff. geir On Sep 20, 2006, at 7:10 AM, Egor Pasko wrote: On the 0x1EA day of Apache Harmony Egor Pasko wrote: On

Re: [drlvm] none of kernel tests passed for the recent sources

2006-09-20 Thread Geir Magnusson Jr.
So all is well? On Sep 20, 2006, at 8:55 AM, Vladimir Gorr wrote: On 9/19/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: On Sep 19, 2006, at 7:19 AM, Vladimir Gorr wrote: On 9/19/06, Vladimir Gorr [EMAIL PROTECTED] wrote: On 9/19/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote

Re: [drlvm] Trouble Building DRLVM (checkpoint)

2006-09-20 Thread Geir Magnusson Jr.
On Sep 20, 2006, at 2:55 PM, Geir Magnusson Jr. wrote: I'd prefer to understand the problem first, before we start doing things like this. As time said in a later not, the bin/vm directory is for the VM stuff, not the general stuff. er, Tim :) Sorry. geir On Sep 20, 2006, at 7:10

Re: [drlvm] Trouble Building DRLVM

2006-09-20 Thread Geir Magnusson Jr.
, 2006, at 3:47 PM, Geir Magnusson Jr. wrote: Ok - so to summarize, there are two things here : 1) We need to find a clean way to get bootclasspath.properties. I don't like JAVA_HOME. I'd like to see if we can simply presume a structure, with an override property for people that want to do

Re: question about support for compressed StringBuffers

2006-09-20 Thread Geir Magnusson Jr.
So do we fix it or scrap it? geir On Sep 20, 2006, at 10:23 AM, Ivan Volosyuk wrote: This is an old code and it is unused for quite some time. Most likely it is broken. -- Ivan On 9/20/06, Craig Zilles [EMAIL PROTECTED] wrote: I noticed in the file trunk/vm/vmcore/src/util/

Re: [vmi] passing -X options to VM

2006-09-20 Thread Geir Magnusson Jr.
On Sep 20, 2006, at 11:22 AM, Egor Pasko wrote: On the 0x1EA day of Apache Harmony Mikhail Fursov wrote: On Sep 19, 2006, at 11:02 AM, Tim Ellison wrote: Geir Magnusson Jr. wrote: snip I'm going to modify the launcher to pass -help into the VM when it's been named java* so

Re: [DRLVM] Thread Manager jvmti related issues fixes (was: Re: [jira] Commented: (HARMONY-1421))

2006-09-20 Thread Geir Magnusson Jr.
patch applied, JIRA closed geir On Sep 20, 2006, at 1:17 PM, Ivan Volosyuk wrote: Artem, your fix works for me. Digging in the implementation I have got your idea. I like the fix :) -- Ivan On 9/20/06, Ivan Volosyuk [EMAIL PROTECTED] wrote: I have traced down problem to implementation of

Re: [DRLVM] Thread Manager jvmti related issues fixes (was: Re: [jira] Commented: (HARMONY-1421))

2006-09-20 Thread Geir Magnusson Jr.
framework so including/excluding a test doesn't require changing the test source code... geir On Sep 20, 2006, at 7:22 PM, Weldon Washburn wrote: On 9/20/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: patch applied, JIRA closed Good. I was just about to suggest the very same thing. I

Re: [drlvm] Trouble Building DRLVM

2006-09-20 Thread Geir Magnusson Jr.
On Sep 20, 2006, at 7:28 PM, Gregory Shimansky wrote: On Wednesday 20 September 2006 23:47 Geir Magnusson Jr. wrote: Ok - so to summarize, there are two things here : 1) We need to find a clean way to get bootclasspath.properties. I don't like JAVA_HOME. I'd like to see if we can simply

Re: [classlib][luni] launcher/shared/main.c compile errors on Win32

2006-09-20 Thread Geir Magnusson Jr.
Arrrgh. When I was making those changes I was thinking A long time ago, this would have been a problem, but thank goodness we're using modern compilers now... I guess not. Sorry about that. Teaches me to jump to conclusions... fixing now Did it reject char *dirs[];? geir On Sep

Re: [classlib]build failed on windows

2006-09-20 Thread Geir Magnusson Jr.
Sorry. My fault. Fixing now. I need to find settings to make gcc on linux enforce the same... geir On Sep 20, 2006, at 9:36 PM, Leo Li wrote: Hi, all I found that the classlib build fails on windows today. I have tried to fixed it in File main.c 1. move some declarations of

Re: [classlib]build failed on windows

2006-09-20 Thread Geir Magnusson Jr.
fixed. please verify. And apologies... geir On Sep 20, 2006, at 10:07 PM, Geir Magnusson Jr. wrote: Sorry. My fault. Fixing now. I need to find settings to make gcc on linux enforce the same... geir On Sep 20, 2006, at 9:36 PM, Leo Li wrote: Hi, all I found that the classlib

Re: [drlvm][jit] array bounds check implementation

2006-09-20 Thread Geir Magnusson Jr.
On Sep 20, 2006, at 10:40 PM, Naveen Neelakantam wrote: Very clever! It seems like an array bounds check is converted into an unsigned comparison followed by a JNB on Ia32. This single compare-and-branch sequence correctly implements both the upper bound and lower bound checks. Because

Re: [DRLVM] Running build test (on linux)

2006-09-20 Thread Geir Magnusson Jr.
On Sep 20, 2006, at 10:44 PM, Vladimir Gorr wrote: On 9/20/06, Ivan Volosyuk [EMAIL PROTECTED] wrote: Thank you, looks like I had incomplete installation of ant. It finally works for me, a few tests fails though, some of them on RI according to messages. Is it expected behaviour? Not.

Re: [drlvm] none of kernel tests passed for the recent sources

2006-09-20 Thread Geir Magnusson Jr.
Nah - I'm used to those :) On Sep 20, 2006, at 10:49 PM, Vladimir Gorr wrote: On 9/21/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: So all is well? Yep if not to take into account some test failures. Thanks, Vladimir. On Sep 20, 2006, at 8:55 AM, Vladimir Gorr wrote: On 9/19/06

Re: [classlib][build] failure?

2006-09-19 Thread Geir Magnusson Jr.
Lets get these aligned... I tend to work on linux, so it had no problem building.. geir On Sep 18, 2006, at 10:14 PM, Leo Li wrote: Just comment it out since it is just a warning treated as error. It compiles successfully and runs well. Maybe it will not lead to such an error on Linux due

Re: [test] Jetty integration progress ? (was Re: [classlib] jetty based tests)

2006-09-19 Thread Geir Magnusson Jr.
On Sep 19, 2006, at 2:13 AM, Richard Liang wrote: On 9/18/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Andrew Zhang wrote: On 9/18/06, Richard Liang [EMAIL PROTECTED] wrote: Do you mean we will check the jetty jars into Harmony svn? Yes. Is it OK? Or put the jar in depends folder

Re: [drlvm] gc.LOS hangs on win32

2006-09-19 Thread Geir Magnusson Jr.
On Sep 19, 2006, at 2:18 AM, Weldon Washburn wrote: All, I have noticed endless loop behavior when running gc.LOS. It appears to go into some sort of endless loop when I try, build test. Does anyone else see this problem? I used MSVC to break into drlvm when it gets stuck. It shows

Re: [drlvm] Trouble Building DRLVM

2006-09-19 Thread Geir Magnusson Jr.
Best regards, Nadya Morozova -Original Message- From: Geir Magnusson Jr. [mailto:[EMAIL PROTECTED] Sent: Monday, September 18, 2006 8:20 PM To: harmony-dev@incubator.apache.org Subject: Re: [drlvm] Trouble Building DRLVM Armand Navabi wrote: I am new to using Harmony. I am currently

Re: [drlvm] HARMONY-1363 - status update

2006-09-19 Thread Geir Magnusson Jr.
On Sep 19, 2006, at 3:01 AM, Chris Gray wrote: On Monday 18 September 2006 18:14, Geir Magnusson Jr. wrote: Pavel Pervov wrote: Tried it on Windows and found the problem which, as it looks like, have never been caught before. As I discovered, launcher uses platform specific line separators

Re: [classlib][build] failure?

2006-09-19 Thread Geir Magnusson Jr.
to pick some error out, for example, wrongly use pointers. However, I have tried to set it on, but some unavoidable warning will lead to a failure in Harmony building. Any good idea?:) Good luck! On 9/19/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Lets get these aligned... I tend to work

Re: [drlvm] none of kernel tests passed for the recent sources

2006-09-19 Thread Geir Magnusson Jr
Vladimir Gorr wrote: Geir, I found out none of the DRRVM kernel tests passed recently. Although all fine worked yet yesterday. *build.bat -Djunit.jar=%JUNIT_HOME% kernel.test* ... [echo] [echo] == [echo] Run kernel

Re: [drlvm] Trouble Building DRLVM

2006-09-19 Thread Geir Magnusson Jr
What's different about how you build? Are you building from SVN source? Is it release or debug? What happens when you run? geir Egor Pasko wrote: On the 0x1E9 day of Apache Harmony Geir Magnusson, Jr. wrote: $ svn co https://svn.apache.org/repos/asf/incubator/harmony/enhanced/ trunk $ cd

[classlib][awt] problem w/ AWT on linux? (CaffineMark) Was (Re: [drlvm] When running caffinemark, DRLVM now crashes..)

2006-09-19 Thread Geir Magnusson Jr
/GraphicsConfiguration;)V 0003 java/awt/Frame.init(Ljava/lang/String;)V 0003 CaffeineMarkFrame.init(Ljava/applet/Applet;Z)V 0006 CaffeineMarkApp.main([Ljava/lang/String;)V Anyone have any idea? geir Geir Magnusson Jr wrote: On Ubuntu 6, I was trying to run CaffineMark to see where we are w

Re: [drlvm] Trouble Building DRLVM

2006-09-19 Thread Geir Magnusson Jr
For grins, can you set JAVA_HOME to the deploy/jre directory and PATH to include jre/bin? geir Egor Pasko wrote: On the 0x1E9 day of Apache Harmony Geir Magnusson, Jr. wrote: What's different about how you build? I just run ant from enhanced/trunk, and when it breaks, I do what you

Re: [drlvm] Trouble Building DRLVM

2006-09-19 Thread Geir Magnusson Jr.
On Sep 19, 2006, at 6:30 AM, Egor Pasko wrote: On the 0x1E9 day of Apache Harmony Geir Magnusson, Jr. wrote: Hm. That should be irrelevant. You should be able to do : $ svn co https://svn.apache.org/repos/asf/incubator/harmony/enhanced/ trunk $ cd trunk $ ant switch_svn_vm $ ant

Re: [drlvm] Trouble Building DRLVM

2006-09-19 Thread Geir Magnusson Jr.
On Sep 19, 2006, at 6:34 AM, Egor Pasko wrote: On the 0x1E9 day of Apache Harmony Geir Magnusson, Jr. wrote: For grins, can you set JAVA_HOME to the deploy/jre directory and PATH to include jre/bin? lots of grins here :) I set them, it runs well (with my patches, but, anyway

Re: [drlvm] none of kernel tests passed for the recent sources

2006-09-19 Thread Geir Magnusson Jr.
: ?? (??:-1) 15: _dl_runtime_resolve (??:-1) 16: ?? (??:-1) 17: JNI_OnLoad (??:-1) 18: ?? (??:-1) end of stack trace On 9/19/06, Vladimir Gorr [EMAIL PROTECTED] wrote: On 9/19/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Vladimir Gorr wrote: Geir, I found

Re: [drlvm] none of kernel tests passed for the recent sources

2006-09-19 Thread Geir Magnusson Jr.
: ?? (??:-1) end of stack trace On 9/19/06, Vladimir Gorr [EMAIL PROTECTED] wrote: On 9/19/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Vladimir Gorr wrote: Geir, I found out none of the DRRVM kernel tests passed recently. Although all fine worked yet yesterday. *build.bat -Djunit.jar

Re: [drlvm] none of kernel tests passed for the recent sources

2006-09-19 Thread Geir Magnusson Jr.
, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Vladimir Gorr wrote: Geir, I found out none of the DRRVM kernel tests passed recently. Although all fine worked yet yesterday. *build.bat -Djunit.jar=%JUNIT_HOME% kernel.test* ... [echo] [echo

Re: [classlib][build] failure?

2006-09-19 Thread Geir Magnusson Jr.
at the time hoping to see some patches to fix the issues but there haven't been any as yet. I agree it would be a good thing to fix for all the native code on both platforms. Regards, Mark. On 19 September 2006 at 4:46, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: There is no way to get rid

Re: [drlvm] Trouble Building DRLVM

2006-09-19 Thread Geir Magnusson Jr.
On Sep 19, 2006, at 7:46 AM, Egor Pasko wrote: On the 0x1E9 day of Apache Harmony Ivan Volosyuk wrote: On 19 Sep 2006 18:13:28 +0700, Egor Pasko [EMAIL PROTECTED] wrote: On the 0x1E9 day of Apache Harmony Geir Magnusson, Jr. wrote: On Sep 19, 2006, at 6:34 AM, Egor Pasko wrote

Re: [drlvm] Trouble Building DRLVM

2006-09-19 Thread Geir Magnusson Jr.
On Sep 19, 2006, at 7:27 AM, Ivan Volosyuk wrote: On 19 Sep 2006 18:13:28 +0700, Egor Pasko [EMAIL PROTECTED] wrote: On the 0x1E9 day of Apache Harmony Geir Magnusson, Jr. wrote: On Sep 19, 2006, at 6:34 AM, Egor Pasko wrote: On the 0x1E9 day of Apache Harmony Geir Magnusson, Jr. wrote

Re: [drlvm] none of kernel tests passed for the recent sources

2006-09-19 Thread Geir Magnusson Jr.
On Sep 19, 2006, at 7:19 AM, Vladimir Gorr wrote: On 9/19/06, Vladimir Gorr [EMAIL PROTECTED] wrote: On 9/19/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: guys - lets be clear. Are you unsetting it because it was pointing to Sun or BEA or IBM, or was it set to harmony? as for me

Re: [drlvm] Trouble Building DRLVM

2006-09-19 Thread Geir Magnusson Jr.
On Sep 19, 2006, at 7:13 AM, Egor Pasko wrote: On the 0x1E9 day of Apache Harmony Geir Magnusson, Jr. wrote: On Sep 19, 2006, at 6:34 AM, Egor Pasko wrote: On the 0x1E9 day of Apache Harmony Geir Magnusson, Jr. wrote: For grins, can you set JAVA_HOME to the deploy/jre directory and PATH

Re: [drlvm] none of kernel tests passed for the recent sources

2006-09-19 Thread Geir Magnusson Jr.
Magnusson Jr. [EMAIL PROTECTED] wrote: That's good news (that you can reproduce it...) Is JAVA_HOME set to /deploy/jre ? geir -- Dmitry A. Durnev, Intel Middleware Products Division - Terms of use : http://incubator.apache.org

Re: [drlvm] none of kernel tests passed for the recent sources

2006-09-19 Thread Geir Magnusson Jr.
that was found is unimplemented hythread_exit() fumnction. I will develop patch for DRLVM hythread lib Thank you. . Thanks Artem On 9/19/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: That's good news (that you can reproduce it...) Is JAVA_HOME set to /deploy/jre ? geir On Sep 19

[drlvm][classlib] thread library - let there be one!

2006-09-19 Thread Geir Magnusson Jr.
All, we need to put this issue to bed, as we're tripping over it, it seems. Any thoughts on how to move forward on this? geir - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL

Re: [drlvm] Trouble Building DRLVM

2006-09-19 Thread Geir Magnusson Jr.
On Sep 19, 2006, at 8:37 AM, Ivan Volosyuk wrote: [SNIP] ./java Harmony Java launcher Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable. java [-vm:vmdll -vmdir:dir -D... [-X...]] [args] ./java: relocation error:

Re: [classlib][build] failure?

2006-09-19 Thread Geir Magnusson Jr.
that might have happened before I started hacking the natives around. Regards, Mark. On 19 September 2006 at 7:10, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Ok, good - there's a totally reasonable explanation :) geir On Sep 19, 2006, at 7:05 AM, Mark Hindess wrote: Incidentally, I had

Re: [drlvm] Trouble Building DRLVM

2006-09-19 Thread Geir Magnusson Jr.
On Sep 19, 2006, at 8:56 AM, Ivan Volosyuk wrote: On 9/19/06, Ivan Volosyuk [EMAIL PROTECTED] wrote: Harmony Java launcher Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable. java [-vm:vmdll -vmdir:dir -D... [-X...]] [args]

Re: [drlvm] Trouble Building DRLVM

2006-09-19 Thread Geir Magnusson Jr.
On Sep 19, 2006, at 9:10 AM, Geir Magnusson Jr. wrote: Ok - this is semi-known behavior - the launcher now doesn't do anything, um, intelligent if it is invoked w/o an arguments, and clearly there's something unpleasant going on when it's just the launcher running, probably with our

Re: [classlib][awt] problem w/ AWT on linux? (CaffineMark) Was (Re: [drlvm] When running caffinemark, DRLVM now crashes..)

2006-09-19 Thread Geir Magnusson Jr.
(libxmu.so, RTLD_LAZY); or the corresponding dlsym(lib, XmuLookupStandardColormap); Could you, please, check if these dlopen/dlsym return non zero on your system? On 9/19/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Ok, so I was really tired last night when I reported this. I've done a little more

Re: [classlib][awt] problem w/ AWT on linux? (CaffineMark) Was (Re: [drlvm] When running caffinemark, DRLVM now crashes..)

2006-09-19 Thread Geir Magnusson Jr.
Nah :) So the problem was that I have /usr/lib/libXmu.so.6 I added a link /usr/lib/libXmu.so and now it wants libgl.so, which I don't have... On Sep 19, 2006, at 9:23 AM, Oleg Khaschansky wrote: Probably you need to add it to your LD_LIBRARY_PATH... On 9/19/06, Geir Magnusson Jr

Re: [drlvm] Trouble Building DRLVM

2006-09-19 Thread Geir Magnusson Jr.
On Sep 19, 2006, at 10:09 AM, Oliver Deakin wrote: Geir Magnusson Jr. wrote: On Sep 19, 2006, at 7:46 AM, Egor Pasko wrote: On the 0x1E9 day of Apache Harmony Ivan Volosyuk wrote: SNIP! this one is repaired with this patch: --- modules/luni/src/main/native/launcher/linux/makefile

Re: [vmi] showing help text (was: Re: [drlvm] Trouble Building DRLVM)

2006-09-19 Thread Geir Magnusson Jr.
On Sep 19, 2006, at 11:02 AM, Tim Ellison wrote: Geir Magnusson Jr. wrote: On Sep 19, 2006, at 8:37 AM, Ivan Volosyuk wrote: [SNIP] ./java Harmony Java launcher Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable. java

Re: [classlib][awt] problem w/ AWT on linux? (CaffineMark) Was (Re: [drlvm] When running caffinemark, DRLVM now crashes..)

2006-09-19 Thread Geir Magnusson Jr.
I thought I did. Thx - retrying... On Sep 19, 2006, at 12:17 PM, Oleg Khaschansky wrote: So you need to build with -Dwith.awt.swing=true then... On 9/19/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Nah :) So the problem was that I have /usr/lib/libXmu.so.6 I added a link /usr

Re: [vmi] showing help text

2006-09-19 Thread Geir Magnusson Jr.
On Sep 19, 2006, at 12:24 PM, Tim Ellison wrote: Geir Magnusson Jr. wrote: On Sep 19, 2006, at 11:02 AM, Tim Ellison wrote: Geir Magnusson Jr. wrote: snip I'm going to modify the launcher to pass -help into the VM when it's been named java* so that it behaves like the tools that come

Re: [drlvm] Problem with running DRLVM on Fedora Core 5

2006-09-19 Thread Geir Magnusson Jr.
On Sep 19, 2006, at 8:24 PM, YangTing wrote: hi, I checked out the lates classlib and drlvm source tree last night. I was able to build drlvm successfully. However, I encountered the following error when I tried to run DRLVM: $ java Harmony Java launcher Apache Harmony Launcher

Re: HARMONY-1407: Contribution of Java code for package java.lang.management

2006-09-18 Thread Geir Magnusson Jr.
Yes. I have some docs that need to be put in SVN - I hope to do that today. Once we do that, we need to simply vote to accept the code. If you start working with it ahead of time, that will be good :) geir Nathan Beyer wrote: Are there any documents or anything that needs to be resolved

Re: [drlvm] HARMONY-1363 - status update

2006-09-18 Thread Geir Magnusson Jr
Egor Pasko wrote: On the 0x1E5 day of Apache Harmony Geir Magnusson, Jr. wrote: Am I doing something wrong? do we build with 'build.sh' yet? ? I build only w/ build.sh Here's how I work these days : I have checked out enhanced/trunk and run ant in that directory, which will do

Re: [drlvm] HARMONY-1363 - status update

2006-09-18 Thread Geir Magnusson Jr.
Egor Pasko wrote: On the 0x1E8 day of Apache Harmony Geir Magnusson, Jr. wrote: Egor Pasko wrote: On the 0x1E5 day of Apache Harmony Geir Magnusson, Jr. wrote: Am I doing something wrong? do we build with 'build.sh' yet? ? I build only w/ build.sh Here's how I work these days : I have

Re: [drlvm] HARMONY-1363 - status update

2006-09-18 Thread Geir Magnusson Jr.
Hm. What platform are you running on? I can build and run on Ubuntu 6, 5 and WinXP in debug and release. Do your tests pass? using the launcher is the default now : $ cd working_vm $ cd build $ sh build.sh $ cd deploy/jre/bin $ ./java -version $ ./java Foo works... geir Egor Pasko wrote:

Re: [drlvm] HARMONY-1363 - status update

2006-09-18 Thread Geir Magnusson Jr.
Egor Pasko wrote: On the 0x1E8 day of Apache Harmony Egor Pasko wrote: On the 0x1E8 day of Apache Harmony Geir Magnusson, Jr. wrote: Hm. What platform are you running on? SUSE 9 I can build and run on Ubuntu 6, 5 and WinXP in debug and release. Do your tests pass? many tests pass, hm

Re: [drlvm] build fails at revision 447316

2006-09-18 Thread Geir Magnusson Jr.
Ah! Probably build/drlvm.properties that I added, which will point your build off into nowhere for classlib if not setup right (which is where those headers come from...) Just do a svn update - I renamed to drlvm.properties.example to make it less harmful. Sorry about that. geir

Re: [drlvm] HARMONY-1363 - status update

2006-09-18 Thread Geir Magnusson Jr.
Egor Pasko wrote: On the 0x1E8 day of Apache Harmony Geir Magnusson, Jr. wrote: Egor Pasko wrote: On the 0x1E8 day of Apache Harmony Egor Pasko wrote: On the 0x1E8 day of Apache Harmony Geir Magnusson, Jr. wrote: Hm. What platform are you running on? SUSE 9 I can build and run

Re: [drlvm] is_name_lowercase() in natives_support.cpp

2006-09-18 Thread Geir Magnusson Jr.
Magnusson Jr. [EMAIL PROTECTED]: Looking at things, yes, it's the ICU dll, which has uppercase letters in the filename. My plan is to just convert all paths to lowercase. Any problems people can see? geir - Terms of use : http

Re: [drlvm] is_name_lowercase() in natives_support.cpp

2006-09-18 Thread Geir Magnusson Jr.
September 2006 at 10:56, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Looking at things, yes, it's the ICU dll, which has uppercase letters in the filename. My plan is to just convert all paths to lowercase. Any problems people can see? Yes. It will break the IBM VME on linux. Renaming locally

Re: [drlvm] HARMONY-1363 - status update

2006-09-18 Thread Geir Magnusson Jr.
I'm trying on Ubuntu 5 and I'm getting problems as well. Problem is that it's in a Parallels VM on OS X and I can't figure out how to cut and paste between them... It's a really useless stacktrace w/ addr2line... Egor Pasko wrote: On the 0x1E8 day of Apache Harmony Egor Pasko wrote: If

Re: [test] Jetty integration progress ? (was Re: [classlib] jetty based tests)

2006-09-18 Thread Geir Magnusson Jr.
Andrew Zhang wrote: On 9/18/06, Richard Liang [EMAIL PROTECTED] wrote: On 9/18/06, Andrew Zhang [EMAIL PROTECTED] wrote: Hi, It's me again. Seems no big progress on jetty. I'd like to take the job if no one objects. Here are my suggestions: Great :-) 1. jetty version: I suggest that

Re: [drlvm] is_name_lowercase() in natives_support.cpp

2006-09-18 Thread Geir Magnusson Jr.
Sorry - that came across too harsh w/o the smileys... Seriously, we had mixed up two things... does it make sense? geir Geir Magnusson Jr. wrote: Do you really understand what we are talking about? The change discussed doesn't happen on linux unless you choose to define PLATFORM_NT while

Re: [drlvm] HARMONY-1363 - status update

2006-09-18 Thread Geir Magnusson Jr.
Magnusson Jr. [EMAIL PROTECTED] wrote: I now have things building and running with the 1363 patch - more work for the launcher was needed. I'm now using the harmonyvm.properties file in the vmdir, and this is working well. I am now able to run tests, although I have one failure in StackTest

Re: [drlvm] Trouble Building DRLVM

2006-09-18 Thread Geir Magnusson Jr.
Armand Navabi wrote: I am new to using Harmony. I am currently having trouble getting the DRLVM to build. I have a successful build of the class library. I have the following error when I try to ./build.sh update: [mkdir] Created dir:

Re: [drlvm] is_name_lowercase() in natives_support.cpp

2006-09-18 Thread Geir Magnusson Jr.
Artem Aliev wrote: Geir, The current DRLVM build is still failed. Because I was waiting for Alexey :) I'll take your patch though. geir I attach patch for the current state of VM. Could you please apply it or commit new version of natives_support.cpp Thanks Artem On 9/18/06, Alexey

[drlvm] Jars work again, and other notes

2006-09-18 Thread Geir Magnusson Jr.
I'm at a conference today, but in my idle bits of time, I restored the capability to do java -jar foo.jar I added a little JarRunner class to our kernel classes, but we should move this to classlib, as there's nothing DRLVM specific about it. I also had to modify the launcher to get this

Re: [drlvm] Trouble Building DRLVM

2006-09-18 Thread Geir Magnusson Jr.
-Original Message- From: Geir Magnusson Jr. [mailto:[EMAIL PROTECTED] Sent: Monday, September 18, 2006 8:20 PM To: harmony-dev@incubator.apache.org Subject: Re: [drlvm] Trouble Building DRLVM Armand Navabi wrote: I am new to using Harmony. I am currently having trouble getting the DRLVM

[drlvm] When running caffinemark, DRLVM now crashes..

2006-09-18 Thread Geir Magnusson Jr
On Ubuntu 6, I was trying to run CaffineMark to see where we are w/ the lastest set of patches and the big java 5 and other fix patch. release build, r447024 top of the stack trace is Java_org_harmony_awt_nativebridge_linux_X11_XmuLookupStandardColormap Can anyone repeat this error? geir

[drlvm] HARMONY-1417 - failed against SVN head

2006-09-16 Thread Geir Magnusson Jr.
Kept hanging a smoke test, so not committed. See the JIRA for details. geir - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

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

2006-09-16 Thread Geir Magnusson Jr.
Robin Garner wrote: Designing a garbage collector with low pause times and high throughput (ie low overhead) is to an extent the 'holy grail' of memory management research. Do you know much about this on in JRockit? http://www.networkcomputing.com/showArticle.jhtml?articleId=193000182

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

2006-09-16 Thread Geir Magnusson Jr.
Weldon Washburn wrote: On 9/14/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Xiao-Feng Li wrote: On 9/15/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Xiao-Feng Li wrote: GCv5 is a proposed next GC version for Harmony VM. It's just starting. Any people who are interested

Re: [jira] Good issue resolution guideline (was: [classlib]volunteer to supply patches for old JIRAs)

2006-09-15 Thread Geir Magnusson Jr.
Yes, I don't think it would hurt, even if it's in the patch as Mark noted. geir Vladimir Gorr wrote: On 9/15/06, Mark Hindess [EMAIL PROTECTED] wrote: On 15 September 2006 at 12:18, Vladimir Gorr [EMAIL PROTECTED] wrote: I'd like to add some words ... IMO each contributor should be

Re: [drlvm] HARMONY-1363 - status update

2006-09-15 Thread Geir Magnusson Jr.
Egor Pasko wrote: On the 0x1E5 day of Apache Harmony Egor Pasko wrote: On the 0x1E5 day of Apache Harmony Geir Magnusson, Jr. wrote: Ok - I was testing with Tomcat 5.5.17 on Ubuntu and it seems to work wiht both release and debug builds. Strange problem is that something is really slow

Re: [drlvm] HARMONY-1363 - status update

2006-09-15 Thread Geir Magnusson Jr.
Pasko wrote: On the 0x1E5 day of Apache Harmony Geir Magnusson, Jr. wrote: Ok - I was testing with Tomcat 5.5.17 on Ubuntu and it seems to work wiht both release and debug builds. Strange problem is that something is really slow - server start time is something like 17 sec on my machine

Re: [jira] Commented: (HARMONY-286) Add build-java and build-native targets to main build.xml

2006-09-15 Thread Geir Magnusson Jr.
That's my question too - if there is no downside, why not? Rui Hu wrote: IMO, it's nice to improve our ant script, especially adding the function of building native code separately. If we can add an useful feature safely, why not to do? :) On 9/15/06, Alexey Varlamov [EMAIL PROTECTED] wrote:

Re: IBM VM (?) crash

2006-09-15 Thread Geir Magnusson Jr.
That's not a crash but the default behavior of the launcher. I think that if the launcher is named java, and is invoked with no args, it should just simply invoke the VM, which should w/o args print it's help. Given that only the clueful and advanced users would want to know the two params

[classlib] Re: Build failures?

2006-09-15 Thread Geir Magnusson Jr.
Hm. Bad. Can we choose an extension for stuff like this that we can protect via a mime-type in ~/.subversion/config.txt? geir Mikhail Loenko wrote: 2006/9/15, Mikhail Loenko [EMAIL PROTECTED]: CipherTest failure is caused by one of Set eol-style = native ... commits The cause is

Re: [drlvm] HARMONY-1363 - status update

2006-09-15 Thread Geir Magnusson Jr.
Gregory Shimansky wrote: 2006/9/15, Geir Magnusson Jr. [EMAIL PROTECTED]: Mikhail Fursov wrote: Testing WindowsXP build. Have to disable this assersion: assert(is_name_lowercase(library_name)) in natives_support.cpp file to run Hello application. Yes, I was staring that that last

[drlvm] Why APR string pools for mundane tasks?

2006-09-15 Thread Geir Magnusson Jr.
Inquiring minds want to know... Why do we need to use APR pools to do what is glorified string concatenation? See ClassLoader::LoadNativeLibrary() where it [thinks it] needs to create a 'canonicalized path'. 1) First has to call apr_pool_create(). 2) Then it calls

Re: IBM VM (?) crash

2006-09-15 Thread Geir Magnusson Jr.
Ignore me. There is a crash below. I only thought you were complaining about the output of the launcher. (I do think my point still stands re the output of java :) Geir Magnusson Jr. wrote: That's not a crash but the default behavior of the launcher. I think that if the launcher is named

Re: [testing][beans] reverse engineering of RI

2006-09-15 Thread Geir Magnusson Jr.
Alexei Zakharov wrote: Hi all, While investigating one of the failed tests from the beans module (PersistenceDelegateTest#*) I have discovered that the test is doing a reverse engineering in fact. It passes some worm-like object to public API method and then analyzes the calling stacktrace of

Re: IBM VM (?) crash

2006-09-15 Thread Geir Magnusson Jr.
Tim Ellison wrote: Geir Magnusson Jr. wrote: Ignore me. There is a crash below. I only thought you were complaining about the output of the launcher. (I do think my point still stands re the output of java :) I don't get it? How do you tell the VM that it should print its help

Re: IBM VM (?) crash

2006-09-15 Thread Geir Magnusson Jr.
Tim Ellison wrote: Geir Magnusson Jr. wrote: Tim Ellison wrote: Geir Magnusson Jr. wrote: Ignore me. There is a crash below. I only thought you were complaining about the output of the launcher. (I do think my point still stands re the output of java :) I don't get it? How do you tell

Re: IBM VM (?) crash

2006-09-15 Thread Geir Magnusson Jr.
I understand what you are asking. Why not just have launcher pass -help to VM... geir Tim Ellison wrote: Geir Magnusson Jr. wrote: Tim Ellison wrote: Geir Magnusson Jr. wrote: Ignore me. There is a crash below. I only thought you were complaining about the output of the launcher. (I do

Re: [testing][beans] reverse engineering of RI

2006-09-15 Thread Geir Magnusson Jr.
Alexei Zakharov wrote: Tim Ellison wrote: yuk! what is this test trying to achieve? Andrew Zhang wrote: OMG! what's the intention of such assertion? It seems that the original author of these tests aims to wrote as much code as possible. Now now... be nice... :) To have a nice

[drlvm] is_name_lowercase() in natives_support.cpp

2006-09-15 Thread Geir Magnusson Jr.
Looking at things, yes, it's the ICU dll, which has uppercase letters in the filename. My plan is to just convert all paths to lowercase. Any problems people can see? geir - Terms of use :

Re: [classlib][concurrent] Next IBM VME request

2006-09-15 Thread Geir Magnusson Jr.
Tim Ellison wrote: Just revisiting this thread -- and even I can't decipher what I wrote as I ran out the door. Let me try again. Rather than put sun.misc.Unsafe into luni-kernel I suggest that we have an o.a.h.kernel.vm.Risky[1] type containing just the relevant subset of operations that we

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

2006-09-14 Thread Geir Magnusson Jr.
Egor Pasko wrote: On the 0x1E4 day of Apache Harmony Alexey Varlamov wrote: Just a wild idea: a smart JIT could hint a GC during allocation if an object is expected to be short-lived so the GC could allocate it in a special space, if a JIT can prove that the object is local, it can

Re: [drlvm] HARMONY-1363 - problem finding apr_get_thread_time

2006-09-14 Thread Geir Magnusson Jr.
this morning, but on the other coast of the US, and then flew across the continent in an aluminum tube, whistling through the air near mach 1 at 37k feet :) So the problem is that on startup, I get undefined symbol : apr_get_thread_time geir On 9/14/06, Geir Magnusson Jr. [EMAIL PROTECTED

Re: [drlvm] HARMONY-1363 - problem finding apr_get_thread_time

2006-09-14 Thread Geir Magnusson Jr.
well, it wasn't lying. nm shows it as undefined as well geir Geir Magnusson Jr. wrote: Mikhail Fursov wrote: Geir, AFAIR the only diff to EM files was the fix of the default JIT library path construction. (?) Why do you think that the current problem is related to EM? I don't anymore

Re: [drlvm] HARMONY-1363 - problem finding apr_get_thread_time

2006-09-14 Thread Geir Magnusson Jr.
of course :) Mikhail Fursov wrote: This is the new method added to drlvm\trunk\vm\port\src\thread\linux\apr_thread_ext.c Does your apr_thread_ext.c contains this method? On 9/14/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: well, it wasn't lying. nm shows it as undefined as well geir

Re: [general] svn:eol-style = native (LF vs CRLF)

2006-09-14 Thread Geir Magnusson Jr.
I thought we did this a while ago...? geir Tony Wu wrote: +1 to set *svn:eol-style native* to all text files On 9/14/06, Ilya Okomin [EMAIL PROTECTED] wrote: On 9/13/06, Tony Wu [EMAIL PROTECTED] wrote: After going through this thread, I realize there is another possibility to encounter

Re: [jira] Commented: (HARMONY-953) [drlvm] order of elements returned by Class.getDeclaredMethods differs from RI

2006-09-14 Thread Geir Magnusson Jr.
Or have DRLVM component added. I thought one of the problems is that we don't actually know how to deterministically fix as it's not specified in the spec. Mikhail Loenko wrote: 2006/9/14, Alexei Zakharov (JIRA) [EMAIL PROTECTED]: [

Re: [drlvm] Need help debugging

2006-09-14 Thread Geir Magnusson Jr.
depends on HARMONY-1363. As for Eclipse's silent exit, please try to find what has happened in the eclipse/configuration/*.log files. Thanks, Elena On 9/14/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: I'd like to understand why this is no longer necessary. (Just provide some background

Re: [drlvm] Need help debugging

2006-09-14 Thread Geir Magnusson Jr.
size frames in stack); The fix has been submitted in HARMONY-1431 which depends on HARMONY-1363. As for Eclipse's silent exit, please try to find what has happened in the eclipse/configuration/*.log files. Thanks, Elena On 9/14/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: I'd like

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

2006-09-14 Thread Geir Magnusson Jr.
Jimmy, Jing Lv wrote: Leo Li wrote: Hi,all: As we all know, java objects are allocated on heap instead of stack, thus there is a problem about how to garbage collect short-lived objects quickly. In a recent real project I involved, a server built on java tries to send thousands of

Re: [j9] Doesn't deal with -showversion

2006-09-14 Thread Geir Magnusson Jr.
Tim Ellison wrote: Geir Magnusson Jr. wrote: Oliver and Co : I don't know if you caught this in another thread, but I recently changed the launcher to pass the -showversion cmd line param through to the VM after the launcher prints out its version, so that we can also know the version

Re: [general] catching up

2006-09-14 Thread Geir Magnusson Jr.
welcome back! Tim Ellison wrote: Just catching up on harmony mail after a break from the keyboard. I'll write my apologies once here for picking up on a number of threads late. Looks like things are steaming along quite nicely. Tim

Re: [classlib][luni] Put setInterruptAction() in our j.l.Thread stub?

2006-09-14 Thread Geir Magnusson Jr.
writers understand how to get the harmony class library code working with their VM. [1] amongst others, http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/doc/kernel_doc/html/index.html?view=co Regards, Tim Oliver Deakin wrote: Geir Magnusson Jr. wrote: This came up

Re: [classlib][luni] Put setInterruptAction() in our j.l.Thread stub?

2006-09-14 Thread Geir Magnusson Jr.
a better understanding of what it does. Best regards, Nadya Morozova -Original Message- From: Geir Magnusson Jr. [mailto:[EMAIL PROTECTED] Sent: Thursday, September 14, 2006 5:36 PM To: harmony-dev@incubator.apache.org Subject: Re: [classlib][luni] Put setInterruptAction() in our

<    5   6   7   8   9   10   11   12   13   14   >