akka/akka — pull request #15552 by ktoso (2014-07-17 11:13:53+00:00)
Title: =act #15488 volatile logLevel and Guard => RWGuard for loggers

This PR fixes the memory visibility issue introduced in #15488.

Summary:
* made `logLevel` @volatile
* Perf benchmark and results are attached.

Related:
* Also benched replacing the guard with an read-write guard, but seemed to have the opposite effect as expected actually... ( https://github.com/akka/akka/commit/5eba9fceef884b16c8764a78d0d8bb274dfbc830#diff-47ea75a55aa7f26d9b488bfb764f9d79R32 ), did not dig deeper into it for now.

Please review @viktorklang