On Tuesday, 8 בNovember 2005 13:51, Amos Shapira wrote:
> On 11/8/05, Oded Arbel <[EMAIL PROTECTED]> wrote:
> > Java program was supposed to do was call wait() (a Java thread
> > synchronization call) every second, which was indeed verified by
> > stracing the Java process, and here is the output:
> >
> > futex(0x4d907b60, FUTEX_WAIT, 233, {0, 265545000}) = -1 ETIMEDOUT
> > (Connection timed out)
> > futex(0x805d33c, FUTEX_WAKE, 1)         = 0
> > gettimeofday({1131445296, 417683}, NULL) = 0
> > clock_gettime(0, {1131445296, 417799000}) = 0
> > futex(0x4d907b60, FUTEX_WAIT, 234, {0, 499884000}) = -1 ETIMEDOUT
> >
> > I suspect the futex() calls from the above trace - AFAIK they stand
> > for "fast use mutex", but I don't understand enough about them to
> > guess as to why it behaves that way.
>
> Do you know if this is a "green-threads" or "linux-threads" JVM?

I'm not sure which is which - I'm using the one where ps does not show a 
process id for each thread.

> What does "java -version" give you?

nothing interesting - j2se, hotspot, mixed mode,1.4.2_06-b03

> Can you determine whether the Java process has multiple kernel-level
> threads?

I think it does - as I said, there are no separate thread processes.

> Also if possible I think you would get beter results in general from
> Java 5 (FKA 1.5).

I know, but due to commercial reasons this not currently an option.

> (I personally installed BEA's JRockit JVM, which is supposed to be
> geared towards high-performance servers).

I'm currently happy with the performance I'm getting from the software - 
it behaves nicely when subjected to the loads I want it to support. I 
can't tell what is the deal with the "cpu usage" I'm seeing on the 
machine, but it does not affect performance adversely.

-- 
Oded

::..
Carperpetuation (kar' pur pet u a shun), n.:
        The act, when vacuuming, of running over a string at least a
dozen times, reaching over and picking it up, examining it, then
putting it back down to give the vacuum one more chance.
                -- Rich Hall, "Sniglets"

================================================================To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to