[drlvm] Java stack limits (was: Re: [drlvm][em64t] build fails)

2006-11-17 Thread Tim Ellison
Geir Magnusson Jr. wrote: I think that it's totally unreasonable to have no upper bound on stack size. A Java virtual machine should never be able to hose a machine by sucking in all memory... yeah, like those rotten C programs. You are damned if you do and damned if you don't, since you'll

Re: [drlvm] Java stack limits (was: Re: [drlvm][em64t] build fails)

2006-11-17 Thread Mikhail Loenko
Can we get the value from the harmonyvm.properties file? Thanks, Mikhail 2006/11/17, Tim Ellison [EMAIL PROTECTED]: Geir Magnusson Jr. wrote: I think that it's totally unreasonable to have no upper bound on stack size. A Java virtual machine should never be able to hose a machine by

Re: [drlvm][em64t] build fails

2006-11-16 Thread Egor Pasko
On the 0x223 day of Apache Harmony Geir Magnusson, Jr. wrote: Gregory Shimansky wrote: Geir Magnusson Jr. wrote: Gregory Shimansky wrote: -Xss is the lower stack limit, it doesn't specify the maximum stack size, doesn't it? What does lower stack limit mean? :) I think that it's

Re: [drlvm][em64t] build fails

2006-11-16 Thread Alexey Varlamov
16 Nov 2006 14:48:05 +0600, Egor Pasko [EMAIL PROTECTED]: On the 0x223 day of Apache Harmony Geir Magnusson, Jr. wrote: Gregory Shimansky wrote: Geir Magnusson Jr. wrote: Gregory Shimansky wrote: -Xss is the lower stack limit, it doesn't specify the maximum stack size, doesn't it?

Re: [drlvm][em64t] build fails

2006-11-16 Thread Egor Pasko
On the 0x223 day of Apache Harmony Alexey Varlamov wrote: 16 Nov 2006 14:48:05 +0600, Egor Pasko [EMAIL PROTECTED]: On the 0x223 day of Apache Harmony Geir Magnusson, Jr. wrote: Gregory Shimansky wrote: Geir Magnusson Jr. wrote: Gregory Shimansky wrote: -Xss is the

Re: [drlvm][em64t] build fails

2006-11-16 Thread Gregory Shimansky
Egor Pasko wrote: On the 0x223 day of Apache Harmony Geir Magnusson, Jr. wrote: Gregory Shimansky wrote: Geir Magnusson Jr. wrote: Gregory Shimansky wrote: -Xss is the lower stack limit, it doesn't specify the maximum stack size, doesn't it? What does lower stack limit mean? :) I think

Re: [drlvm][em64t] build fails

2006-11-16 Thread Egor Pasko
On the 0x223 day of Apache Harmony Gregory Shimansky wrote: Egor Pasko wrote: On the 0x223 day of Apache Harmony Geir Magnusson, Jr. wrote: Gregory Shimansky wrote: Geir Magnusson Jr. wrote: Gregory Shimansky wrote: -Xss is the lower stack limit, it doesn't specify the maximum stack

Re: [drlvm][em64t] build fails

2006-11-16 Thread Gregory Shimansky
Egor Pasko wrote: On the 0x223 day of Apache Harmony Gregory Shimansky wrote: Egor Pasko wrote: On the 0x223 day of Apache Harmony Geir Magnusson, Jr. wrote: Gregory Shimansky wrote: Geir Magnusson Jr. wrote: Gregory Shimansky wrote: -Xss is the lower stack limit, it doesn't specify the

Re: [drlvm][em64t] build fails

2006-11-16 Thread Geir Magnusson Jr.
Egor Pasko wrote: On the 0x223 day of Apache Harmony Geir Magnusson, Jr. wrote: Gregory Shimansky wrote: Geir Magnusson Jr. wrote: Gregory Shimansky wrote: -Xss is the lower stack limit, it doesn't specify the maximum stack size, doesn't it? What does lower stack limit mean? :) I think

Re: [drlvm][em64t] build fails

2006-11-16 Thread Egor Pasko
On the 0x223 day of Apache Harmony Gregory Shimansky wrote: Egor Pasko wrote: On the 0x223 day of Apache Harmony Gregory Shimansky wrote: Egor Pasko wrote: On the 0x223 day of Apache Harmony Geir Magnusson, Jr. wrote: Gregory Shimansky wrote: Geir Magnusson Jr. wrote: Gregory

Re: [drlvm][em64t] build fails

2006-11-16 Thread Geir Magnusson Jr.
Gregory Shimansky wrote: Egor Pasko wrote: On the 0x223 day of Apache Harmony Geir Magnusson, Jr. wrote: Gregory Shimansky wrote: Geir Magnusson Jr. wrote: Gregory Shimansky wrote: -Xss is the lower stack limit, it doesn't specify the maximum stack size, doesn't it? What does lower

Re: [drlvm][em64t] build fails

2006-11-16 Thread Egor Pasko
On the 0x223 day of Apache Harmony Geir Magnusson, Jr. wrote: Egor Pasko wrote: On the 0x223 day of Apache Harmony Geir Magnusson, Jr. wrote: Gregory Shimansky wrote: Geir Magnusson Jr. wrote: Gregory Shimansky wrote: -Xss is the lower stack limit, it doesn't specify the maximum

Re: [drlvm][em64t] build fails

2006-11-15 Thread Pavel Afremov
On 11/15/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: How could there be no limit to stack size?? Limit is there but it's too large, like 2 in power 46. Is there a way the test framework could set this? Does DRLVM support -Xss yet? No, DRLVM doesn't support –Xss flag. …yet. I

Re: [drlvm][em64t] build fails

2006-11-15 Thread Gregory Shimansky
Geir Magnusson Jr. wrote: Gregory Shimansky wrote: Pavel Afremov wrote: On 11/13/06, Gregory Shimansky [EMAIL PROTECTED] wrote: So what is the point to have a test which would pass either way? Check that it doesn't crash the VM, is it the only purpose for it? I think yes. It should check

Re: [drlvm][em64t] build fails

2006-11-15 Thread Rana Dasgupta
On 11/13/06, Pavel Afremov [EMAIL PROTECTED] wrote: Hello I think that Stack test should print pass if no stack overflow error is happened. Test should check processing of this error but not existing of it. I think that this makes sense. StackTest should be intended to detect correct

Re: [drlvm][em64t] build fails

2006-11-15 Thread Geir Magnusson Jr.
Gregory Shimansky wrote: Geir Magnusson Jr. wrote: Gregory Shimansky wrote: Pavel Afremov wrote: On 11/13/06, Gregory Shimansky [EMAIL PROTECTED] wrote: So what is the point to have a test which would pass either way? Check that it doesn't crash the VM, is it the only purpose for it? I

Re: [drlvm][em64t] build fails

2006-11-15 Thread Gregory Shimansky
Geir Magnusson Jr. wrote: Gregory Shimansky wrote: Geir Magnusson Jr. wrote: Gregory Shimansky wrote: Pavel Afremov wrote: On 11/13/06, Gregory Shimansky [EMAIL PROTECTED] wrote: So what is the point to have a test which would pass either way? Check that it doesn't crash the VM, is

Re: [drlvm][em64t] build fails

2006-11-15 Thread Geir Magnusson Jr.
Pavel Afremov wrote: On 11/15/06, *Geir Magnusson Jr.* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: How could there be no limit to stack size?? Limit is there but it's too large, like 2 in power 46. Is there a way the test framework could set this? Does DRLVM support

Re: [drlvm][em64t] build fails

2006-11-15 Thread Geir Magnusson Jr.
Gregory Shimansky wrote: Geir Magnusson Jr. wrote: Gregory Shimansky wrote: -Xss is the lower stack limit, it doesn't specify the maximum stack size, doesn't it? What does lower stack limit mean? :) I think that it's the size of the stack, max. I thought it is a starting stack

Re: [drlvm][em64t] build fails

2006-11-14 Thread Egor Pasko
On the 0x221 day of Apache Harmony Mika Miettinen wrote: Gregory Shimansky wrote: On Tuesday 14 November 2006 00:51 Gregory Shimansky wrote: I'm going to try to do this on my Gentoo at home now. It is mostly bleeding edge up to date installation. Now I see what you're talking about.

Re: [drlvm][em64t] build fails

2006-11-14 Thread Gregory Shimansky
Stefano Mazzocchi wrote: Gregory Shimansky wrote: On Tuesday 14 November 2006 00:51 Gregory Shimansky wrote: I'm going to try to do this on my Gentoo at home now. It is mostly bleeding edge up to date installation. Now I see what you're talking about. The threading library of classlib doesn't

Re: [drlvm][em64t] build fails

2006-11-14 Thread Gregory Shimansky
Gregory Shimansky wrote: Stefano Mazzocchi wrote: Gregory Shimansky wrote: On Tuesday 14 November 2006 00:51 Gregory Shimansky wrote: I'm going to try to do this on my Gentoo at home now. It is mostly bleeding edge up to date installation. Now I see what you're talking about. The threading

Re: [drlvm][em64t] build fails

2006-11-14 Thread Pavel Afremov
On 11/13/06, Gregory Shimansky [EMAIL PROTECTED] wrote: So what is the point to have a test which would pass either way? Check that it doesn't crash the VM, is it the only purpose for it? I think yes. It should check that test doesn't crash VM if stack size isn't enough. Pasha Afremov.

Re: [drlvm][em64t] build fails

2006-11-14 Thread Mika Miettinen
Gregory Shimansky wrote: On Tuesday 14 November 2006 00:51 Gregory Shimansky wrote: I'm going to try to do this on my Gentoo at home now. It is mostly bleeding edge up to date installation. Now I see what you're talking about. The threading library of classlib doesn't compile on

Re: [drlvm][em64t] build fails

2006-11-14 Thread Gregory Shimansky
Pavel Afremov wrote: On 11/13/06, Gregory Shimansky [EMAIL PROTECTED] wrote: So what is the point to have a test which would pass either way? Check that it doesn't crash the VM, is it the only purpose for it? I think yes. It should check that test doesn't crash VM if stack size isn't enough.

Re: [drlvm][em64t] build fails

2006-11-14 Thread Geir Magnusson Jr.
Gregory Shimansky wrote: Pavel Afremov wrote: On 11/13/06, Gregory Shimansky [EMAIL PROTECTED] wrote: So what is the point to have a test which would pass either way? Check that it doesn't crash the VM, is it the only purpose for it? I think yes. It should check that test doesn't crash VM

Re: [drlvm][em64t] build fails

2006-11-14 Thread Geir Magnusson Jr.
Mika Miettinen wrote: Gregory Shimansky wrote: On Tuesday 14 November 2006 00:51 Gregory Shimansky wrote: I'm going to try to do this on my Gentoo at home now. It is mostly bleeding edge up to date installation. Now I see what you're talking about. The threading library of classlib

Re: [drlvm][em64t] build fails

2006-11-13 Thread Gregory Shimansky
Gregory Shimansky wrote: On Saturday 11 November 2006 02:36 Pavel Pervov wrote: Gregory, Could you look at https://issues.apache.org/jira/browse/HARMONY-2152. I believe it'll fix the build. Thank you for a quick fix. The build works now. Don't try to run acceptance tests though. The

Re: [drlvm][em64t] build fails

2006-11-13 Thread Pavel Afremov
Hello I think that Stack test should print pass if no stack overflow error is happened. Test should check processing of this error but not existing of it. Optimizing compiler can do very deep recursion unrolling, and SOE can happen never in this case. Thanks Pavel Afremov. On

Re: [drlvm][em64t] build fails

2006-11-13 Thread Gregory Shimansky
Pavel Afremov wrote: Hello I think that Stack test should print pass if no stack overflow error is happened. Test should check processing of this error but not existing of it. Optimizing compiler can do very deep recursion unrolling, and SOE can happen never in this case. So what is

Re: [drlvm][em64t] build fails

2006-11-13 Thread Stefano Mazzocchi
Gregory Shimansky wrote: Gregory Shimansky wrote: On Saturday 11 November 2006 02:36 Pavel Pervov wrote: Gregory, Could you look at https://issues.apache.org/jira/browse/HARMONY-2152. I believe it'll fix the build. Thank you for a quick fix. The build works now. Don't try to run

Re: [drlvm][em64t] build fails

2006-11-13 Thread Gregory Shimansky
Stefano Mazzocchi wrote: Gregory Shimansky wrote: Gregory Shimansky wrote: On Saturday 11 November 2006 02:36 Pavel Pervov wrote: Gregory, Could you look at https://issues.apache.org/jira/browse/HARMONY-2152. I believe it'll fix the build. Thank you for a quick fix. The build works now.

Re: [drlvm][em64t] build fails

2006-11-13 Thread Gregory Shimansky
On Tuesday 14 November 2006 00:51 Gregory Shimansky wrote: I'm going to try to do this on my Gentoo at home now. It is mostly bleeding edge up to date installation. Now I see what you're talking about. The threading library of classlib doesn't compile on x86_64. It fails with the same error

Re: [drlvm][em64t] build fails

2006-11-13 Thread Stefano Mazzocchi
Gregory Shimansky wrote: On Tuesday 14 November 2006 00:51 Gregory Shimansky wrote: I'm going to try to do this on my Gentoo at home now. It is mostly bleeding edge up to date installation. Now I see what you're talking about. The threading library of classlib doesn't compile on x86_64.

Re: [drlvm][em64t] build fails

2006-11-11 Thread Pavel Pervov
Stefano, (you guys rock, btw!) We do sometime. ;) and googling for hyzip doesn't yield anything interesting. Hyzlib is something that is build along with classlib (it is part of ZipSupport in classlib). As you didn't finish classlib build, you do not have hyzlib. But VMI requires hyzlib

Re: [drlvm][em64t] build fails

2006-11-11 Thread Stefano Mazzocchi
Pavel Pervov wrote: Stefano, (you guys rock, btw!) We do sometime. ;) :-D and googling for hyzip doesn't yield anything interesting. Hyzlib is something that is build along with classlib (it is part of ZipSupport in classlib). As you didn't finish classlib build, you do not have

[drlvm][em64t] build fails

2006-11-10 Thread Stefano Mazzocchi
I've managed to get everything in place for a DRLVM build.. it runs for a while and then it fails with these errors: [cc] /home/stefano/src/harmony/drlvm/vm/vmcore/src/util/em64t/base/jit_lock_rt_support_em64t.cpp: In function ‘void* rth_get_lil_monitor_enter()’: [cc]

Re: [drlvm][em64t] build fails

2006-11-10 Thread Gregory Shimansky
Same for me. I saw this yesterday. It is because HARMONY-1558 has changed Class interfaces but didn't change x86_64 specific files. Now that I look at the error messages, I think it is quite easy to fix the build. I'll take care of weekend. I wonder how did you get to building drlvm if

Re: [drlvm][em64t] build fails

2006-11-10 Thread Alexei Fedotov
DRLVM build always requires prebuilt classlib... I believe ia32 classlib is ok until linking happens. On 11/11/06, Gregory Shimansky [EMAIL PROTECTED] wrote: Same for me. I saw this yesterday. It is because HARMONY-1558 has changed Class interfaces but didn't change x86_64 specific files. Now

Re: [drlvm][em64t] build fails

2006-11-10 Thread Weldon Washburn
On 11/10/06, Gregory Shimansky [EMAIL PROTECTED] wrote: Same for me. I saw this yesterday. It is because HARMONY-1558 has changed Sorry about that. I looked at Stefano's error messages. They are very similar to the ones we battled a few days ago on linux 32-bit platform. Pavel Pervov can

Re: [drlvm][em64t] build fails

2006-11-10 Thread Gregory Shimansky
On Saturday 11 November 2006 01:43 Weldon Washburn wrote: On 11/10/06, Gregory Shimansky [EMAIL PROTECTED] wrote: Same for me. I saw this yesterday. It is because HARMONY-1558 has changed Sorry about that. I looked at Stefano's error messages. They are very similar to the ones we battled a

Re: [drlvm][em64t] build fails

2006-11-10 Thread Pavel Pervov
It looks like I'll have the patch ready in a few minutes. Sorry for breaking this. On 11/11/06, Gregory Shimansky [EMAIL PROTECTED] wrote: On Saturday 11 November 2006 01:43 Weldon Washburn wrote: On 11/10/06, Gregory Shimansky [EMAIL PROTECTED] wrote: Same for me. I saw this yesterday. It

Re: [drlvm][em64t] build fails

2006-11-10 Thread Pavel Pervov
Gregory, Could you look at https://issues.apache.org/jira/browse/HARMONY-2152. I believe it'll fix the build. On 11/11/06, Gregory Shimansky [EMAIL PROTECTED] wrote: On Saturday 11 November 2006 01:43 Weldon Washburn wrote: On 11/10/06, Gregory Shimansky [EMAIL PROTECTED] wrote: Same for

Re: [drlvm][em64t] build fails

2006-11-10 Thread Gregory Shimansky
On Saturday 11 November 2006 02:36 Pavel Pervov wrote: Gregory, Could you look at https://issues.apache.org/jira/browse/HARMONY-2152. I believe it'll fix the build. Thank you for a quick fix. The build works now. Don't try to run acceptance tests though. The StackTest is a machine killer. It

Re: [drlvm][em64t] build fails

2006-11-10 Thread Stefano Mazzocchi
Gregory Shimansky wrote: On Saturday 11 November 2006 02:36 Pavel Pervov wrote: Gregory, Could you look at https://issues.apache.org/jira/browse/HARMONY-2152. I believe it'll fix the build. Thank you for a quick fix. The build works now. Don't try to run acceptance tests though. The