[concurrency-interest] Re: Any support to determine the number of processors ?
Wed, 23 Jul 2003 02:23:49 +0200
Gary Gregory <firstname.lastname@example.org> writes:
> You'd expect this to show up as a System property, like today we
> sun.cpu.endian = little
> sun.cpu.isalist = pentium i486 i386
[There's no guarantee that these properties are available in all JVMs.]
> Maybe 1.5 will have a "sun.cpu.count" or some such.
1.4 already has Runtime#availableProcessors().
Juergen Kreileder, Blackdown Java-Linux Team