martin-g merged PR #2089:
URL: https://github.com/apache/avro/pull/2089
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscr...@avro.apache.org
martin-g merged PR #2099:
URL: https://github.com/apache/avro/pull/2099
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscr...@avro.apache.org
Hi Niels,
I think WeakHashMap is used because it's onwed by GenericData which is a
singleton.
So, Fields should be "weak reference" to allow garbaging when field is
removed.
As comment says
// this MAY result in two threads creating the same defaultValue
// and calling put. The last thread will w