First of all I would recommend to try this test on RI and see how it
behaves here. This test intensively creates new threads and allocates
memory for a fixed amount of time. So it very probable that it just
consumes all 2GB of the memory on your fast core2 processor for that
time. Another question is why it hangs? It may be a problem of the
test or DRLVM. To understand this first we need to compare it with RI.
If RI works fine then we can try to get the same behaviour on more
slower processors by increasing a time the test operates and
investigate the problem.
Thanks
Evgueni
On 12/20/06, Naveen Neelakantam <[EMAIL PROTECTED]> wrote:
Thanks Vladimir,
I ran stress.Sync and it PASSED.
When I run stress.Mix I get the following output:
java -cp . stress.Mix
Co............................................................uccd
+saeuccdl+saleuccd+saleuccd+saleucas+dc
concurrent terminated by java.lang.OutOfMemoryError: Failed to create
new thread
ujava.lang.OutOfMemoryError: Failed to create new thread
at java.lang.Thread.start(Unknown Source)
at stress.Mix.concurrent(Unknown Source)
at stress.Mix.run(Unknown Source)
eas+dc
spawn32 terminated by java.lang.OutOfMemoryError: Failed to create
new thread
java.lang.OutOfMemoryError: Failed to create new thread
at java.lang.Thread.start(Unknown Source)
at stress.Mix.spawn(Unknown Source)
at stress.Mix.run(Unknown Source)
spawn23 terminated by java.lang.OutOfMemoryError: Failed to create
new thread
java.lang.OutOfMemoryError: Failed to create new thread
at java.lang.Thread.start(Unknown Source)
at stress.Mix.spawn(Unknown Source)
at stress.Mix.run(Unknown Source)
spawn14 terminated by java.lang.OutOfMemoryError: Failed to create
new thread
java.lang.OutOfMemoryError: Failed to create new thread
at java.lang.Thread.start(Unknown Source)
at stress.Mix.spawn(Unknown Source)
at stress.Mix.run(Unknown Source)
spawn5 terminated by java.lang.OutOfMemoryError: Failed to create new
thread
java.lang.OutOfMemoryError: Failed to create new thread
at java.lang.Thread.start(Unknown Source)
at stress.Mix.spawn(Unknown Source)
at stress.Mix.run(Unknown Source)
cl
PASSED
and the program hangs at this point (i.e. does not terminate).
Actually, the output appears to vary from run to run, with a
different number of OutOfMemoryError's. The box that this is running
on has 2GB of physical memory, btw.
Naveen
On Dec 19, 2006, at 11:51 PM, Vladimir Ivanov wrote:
> On 12/20/06, Naveen Neelakantam <[EMAIL PROTECTED]> wrote:
>>
>> How do I run the tests alone?
>
>
> It is a common java programm. So just run
> <harmony/java> -cp . stress.Mix
> from the drlvm\trunk\build\lnx_ia32_gccc_debug\semis\kernel.tests
> \classes
> directory.
>
> Thanks, Vladimir
>
>
> On Dec 19, 2006, at 11:36 PM, Evgueni Brevnov wrote:
>>
>> > It may be two different reasons why these tests hang. Could you
>> > provide more info regarding stress.Sync test. In which mode the
>> hang
>> > is observed? Are you able to reproduce the hang when the test are
>> > running along (not through build.sh test)?
>> >
>> > Thanks
>> > Evgueni
>> >
>> > On 12/20/06, Vladimir Ivanov <[EMAIL PROTECTED]> wrote:
>> >> Issue http://issues.apache.org/jira/browse/HARMONY-2772 was
>> >> created for this
>> >> test on em64t platform (now it excluded for em64t).
>> >> So this test should be improved or we have a problem in common
>> >> part of VM.
>> >>
>> >> Thanks, Vladimir
>> >>
>> >>
>> >> On 12/20/06, Naveen Neelakantam <[EMAIL PROTECTED]> wrote:
>> >> >
>> >> > Could someone please help me look into this? It is causing
>> Cruise
>> >> > Control to hang on our test box.
>> >> >
>> >> > Thanks,
>> >> > Naveen
>> >> >
>> >> > Begin forwarded message:
>> >> >
>> >> > > From: "Naveen Neelakantam (JIRA)" <[EMAIL PROTECTED]>
>> >> > > Date: December 19, 2006 12:15:20 PM CST
>> >> > > To: [EMAIL PROTECTED]
>> >> > > Subject: [jira] Created: (HARMONY-2803) stress.Mix hangs on
>> RHEL4
>> >> > > update 4
>> >> > >
>> >> > > stress.Mix hangs on RHEL4 update 4
>> >> > > ----------------------------------
>> >> > >
>> >> > > Key: HARMONY-2803
>> >> > > URL: http://issues.apache.org/jira/browse/
>> >> > > HARMONY-2803
>> >> > > Project: Harmony
>> >> > > Issue Type: Bug
>> >> > > Components: build - test - ci
>> >> > > Environment: RHEL4 update 4, gcc 3.4.6, core2 (i386)
>> >> > > Reporter: Naveen Neelakantam
>> >> > > Priority: Critical
>> >> > >
>> >> > >
>> >> > > This test consistently hangs on RHEL4 update 4 for i386.
>> It has
>> >> > > been preventing Cruise Control from making any progress.
>> >> > >
>> >> > > --
>> >> > > This message is automatically generated by JIRA.
>> >> > > -
>> >> > > If you think it was sent incorrectly contact one of the
>> >> > > administrators: http://issues.apache.org/jira/secure/
>> >> > > Administrators.jspa
>> >> > > -
>> >> > > For more information on JIRA, see: http://www.atlassian.com/
>> >> > > software/jira
>> >> > >
>> >> > >
>> >> >
>> >> >
>> >> >
>> >>
>> >>
>>
>>