aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/CompilerCodegen.h
diff options
context:
space:
mode:
authorJesse Wilson <jessewilson@google.com>2009-10-21 14:57:48 -0700
committerJesse Wilson <jessewilson@google.com>2009-10-22 09:20:48 -0700
commitd0d89eeced934047ccbe12ad319ddaa928a1898b (patch)
treea1e4267a4eef54f011ab0f21a33284c80864e38c /vm/compiler/codegen/CompilerCodegen.h
parent44c7d932f9ff8bbc039b255509773a56d62df857 (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