Re: Non-Deterministic / Unpredictable Behavior (Again)
Randall R Schulz <[email protected]> Fri, 11 Apr 2008 06:53:25 -0700
| Newsgroups | gmane.comp.windows.devel.java.advanced |
|---|---|
| Message-ID | <[email protected]> |
On Friday 11 April 2008 05:16, Galarneau, Neil wrote: > -----Original Message----- > > Hi, > > > > Well, I've done the fine-tooth-comb routine and still have the > > problem of unrepeatable results. > > > > ... > > > > > > After all this, the unrepeatability of results remains. > > > > I am completely baffled by this. > > > > Are there _any_ ways a properly written, single-threaded program > > can yield this kind of behavior? > Randall, > > 1) If the GC runs, you could argue that your program isn't single > threaded (even if YOU don't create any threads)! You don't have any > finalizers, do you? No, of course not. > 2) Maybe you could add tracing to your program, redirect the tracing > output to a file & diff the traces of different runs just to see > where the abnormal behavior starts... The program has extensive tracing options and I've used them. It doesn't tell me _why_ at some point execution diverges. > Neil Randall Schulz =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com