Static fields in specialized classes

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Mon Oct 13 22:42:32 UTC 2014


On 13/10/14 23:38, Maurizio Cimadamore wrote:
> Think about locks - locking on a static field F means locking on the 
> class instance representing the class defining F
Sorry - the example I had in mind was calling a synchronized static 
method - the essence of the message is the same...


Maurizio


More information about the valhalla-dev mailing list