Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The field PooledObject.state is volatile, but is also always accessed in a synchronised method except in toString().
The volatile modifier is not cost free; it might be better to remove it and add a small synch. block in toString().