Code Review 6562203: Thread doesn't terminate immediately if it was stopped before start
Alan.Bateman at oracle.com
Mon Feb 14 17:48:17 UTC 2011
Chris Hegarty wrote:
> Since your changes for CR 6566340 "Restore use of stillborn flag to
> signify a thread that was stopped before it started", are now promoted
> in hs21.0-b01, I would like to proceed with this clean up in the
> libraries. Basically reverse out the changes that were made by CR
> 4519200, in JDK6. Stop before start will now be correctly handled
> solely by the VM.
> Also, some minor changes to an existing StopBeforeStart regression test.
Not your doing, but it looks like stop(null) could resume a suspended
thread before throwing NPE. Do I read this correctly? Just wondering if
that should be ex-examined while you are in the stop method.
More information about the core-libs-dev