[concurrency-interest] Starting a Thread within a constructor, what can go wrong?
alexdmiller at yahoo.com
Sat Dec 11 00:03:52 EST 2010
I've got a couple examples of this in this presentation:
on slides 39-40. The cache background cleaner example on slide 40 is based on
some actual bad code that I wrote that did sometimes throw NPEs when the
background thread saw partially constructed class state. I'm sure with some
timing nudges or enough reps that you could coax it into regular failure.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest