[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
JavaOne - papers on HotSpot
HotSpot is the new generation of virtual machine for Java. Besides a much
improved garbage collector, it also features greatly improved thread synchronisation.
Quoting from http://java.sun.com/javaone/sessions/slides/TT06/sync.htm:
Thread Synchronisation: Performance Breakthrough
Implications of Project HotSpot Virtual Machine
Fine-grain thread synchronization support is an important part of Java's
promise, especially on large servers and multi-processors
In all current Java Virtual Machines, synchronization is very expensive
Sun's next-generation Virtual Machine will incorporate a breakthrough synchronization
mechanism that makes synchronization practically free
Portable Java programs will not have a performance disadvantage relative
to platform-specific programs
When to Expect it
The cost of writing highly factored, fine-grain code in an object-oriented
style will drop dramatically
Don't worry about the cost of thread synchronization
The cost of allocating temporary data-structures will drop dramatically
The user will essentially never see GC pauses again, even when manipulating
very large numbers of objects
A completely new third-generation virtual machine implementation will be
available during fourth quarter of 1997
If you are in the small minority that uses native methods, start your JNI
ports now to be ready
I didn't find any detail on how the new threads model will work. Perhaps
you can (see http://java.sun.com/javaone).
Richard Beton B.Sc. C.Phys. M.Inst.P.
Roke Manor Research Limited
--------- Standard Disclaimer about my own views etc etc --------
--------- My mail client accepts rich text (HTML) mail
Welsh Highland Railway: http://www.whr.co.uk/WHR/WHR.html
Java: In a world without Fences, who needs Gates?