[concurrency-interest] Re: Thread.getId()

Doug Lea dl@cs.oswego.edu
Tue, 27 Jan 2004 07:38:02 -0500


Even though all of the Thread API is in our docs, we (JSR166) didn't
have anything to do with getID(), which was put in as part of
management, monitoring, and profiling APIs (mainly JSR163 and JSR174).

I believe the spec is written conservatively to enable conforming
implmentations when Isolates (JSR121) finally become available. Each
Isolate will need a part of the ID range, and those ranges will need
to be reusable.

-Doug