OpenJDK: JVM and Multicore CPUs

Stephen.Bohne at Sun.COM Stephen.Bohne at Sun.COM
Tue Sep 4 14:11:48 UTC 2007


Alex,

HotSpot does support it, using mixed assembly/C:

http://12.101.252.19/hotspot/xref/src/cpu/i486/vm/vm_version_i486.cpp
http://12.101.252.19/hotspot/xref/src/cpu/amd64/vm/vm_version_amd64.cpp

Steve

alexanderschunk at t-online.de wrote On 09/03/07 14:34,:
> Hi,
> 
> i am currently working on a C project that detects various processor
> features i.g. Hardware multithreading, number of cores, multi-core
> processor type etc.
> 
> Currently this C programm only works for Intel processors but i think it
> could be easily
> be adopted to AMD processor types.
> 
> I dont know if Java VM currently supports multithreading or multicore
> detection at low-level
> so correct me if i am wrong.
> 
> - Alex




More information about the discuss mailing list