Please sign in to comment.
Make unsynchronized LoggerFactory field syncronized
Because the compiler or processor may reorder instructions, threads are not guaranteed to see a completely initialized object if the init function is called by two different threads. Change-Id: I33342891fe098f84791bf8358e82f31a4bc99d92 Reviewed-on: http://review.couchbase.org/21152 Reviewed-by: Matt Ingenthron <firstname.lastname@example.org> Tested-by: Michael Wiederhold <email@example.com>
- Loading branch information...
Showing with 1 addition and 1 deletion.