Sunbug 6934356: Vector.writeObject() synchronization risks serialization deadlock

Neil Richards neil.richards at
Fri Feb 11 13:03:04 UTC 2011

Hi Peter,
Using putFields/writeFields was the only way I found of properly
addressing the problem in Vector serialization.

The fix has not impacted performance significantly in places where it
has been used in anger.
(I'd naturally be interested in any further improvements in this area.)

All, please find attached an updated webrev zip file, which makes
'data' final (thanks for the suggestion, Peter), and also sorts out
the licensing text.


Unless stated above:
IBM email: neil_richards at
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
-------------- next part --------------
A non-text attachment was scrubbed...
Type: application/zip
Size: 117434 bytes
Desc: not available
URL: <>

More information about the core-libs-dev mailing list