Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Short answer: no, I don't think this looks scary.</p> <p>I don't think you have enough information here to determine exactly where the spiky behavior comes from. There's nothing that indicates that there's a memory leak, thread leak, resource leak or obvious contention. Perhaps some of your tasks managed to get in step with each other? In any case, you seem to be observing correct behavior and nothing in the profile indicates dangerous symptoms.</p> <p>That said, I would stronly recommend that you upgrade to the latest version of Java. Update 3 is too old: we're not even allowed to use it at work due to the security issues. There has been plenty of work done on the garbage collector since then as well.</p> <p>As a first step, I would recommend upgrading to latest Java (update 20 as of this writing) and re-run your test. It's entirely possible that this puzzling behavior will vanish on the second try.</p> <p>EDIT: with respect to the instant deadlock found in the comment, I wouldn't use that finding as an indication of anything other than multithreaded programming is hard (do-able but hard). I've recommended Java Concurrency in Practice before and I strongly recommend that you keep it nearby while coding.</p> <p>That said, I would also recommend avoiding RMI if at all possible. The hard-wired coupling that creates between client and server (client hangs until server fulfills request) can cause another layer of distributed computing complexity that really isn't worth it for a simple "request + fulfill" pairing.</p> <p>Congrats on finding the deadlock, though. There are plenty of times when I wish my own (RMI-caused) issues were as straightforward....</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload