diff options
| author | Jesse Wilson <jessewilson@google.com> | 2009-10-21 14:57:48 -0700 |
|---|---|---|
| committer | Jesse Wilson <jessewilson@google.com> | 2009-10-22 09:20:48 -0700 |
| commit | d0d89eeced934047ccbe12ad319ddaa928a1898b (patch) | |
| tree | a1e4267a4eef54f011ab0f21a33284c80864e38c /vm/compiler/codegen/CompilerCodegen.h | |
| parent | 44c7d932f9ff8bbc039b255509773a56d62df857 (diff) | |
Cleaning up synchronization in Logger.
Formerly any logged message would require synchronization on the shared
global lock to access the root logger's handlers. This change replaces
synchronization on loggers with a combination of copy-on-write and
volatile fields.
Also moving handler initialization from lazy to eager - the code has
moved from initHandlers() to setManager().
Also tidying up the info(), severe() type methods to delegate to avoid
unnecessary duplication.
Diffstat (limited to 'vm/compiler/codegen/CompilerCodegen.h')
0 files changed, 0 insertions, 0 deletions
