summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/compiler_llvm.h
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2012-09-08 11:06:29 -0700
committer Ian Rogers <irogers@google.com> 2012-09-08 16:44:23 -0700
commit22f454c7d349c439c774c5d79b32514b190fd531 (patch)
treeb19271deb46c5313c72df18713d6b6be6798077b /src/compiler_llvm/compiler_llvm.h
parentd83bc36185c8b2a763c79fa364b5387faa26c669 (diff)
Remove a lock from ScopedThreadStateChange.
Remove a lock used while inspecting the current thread state in ScopedThreadStateChange. It is safe to do so as the code just checks the state and the suspend count checks occur in the transition logic (with the appropriate locks held). Gives small but noticeable performance improvement to the JniField microbenchmark. Change-Id: Iadda8ae0b30355dc3d7e4daeed760c41b3fecfc2
Diffstat (limited to 'src/compiler_llvm/compiler_llvm.h')
0 files changed, 0 insertions, 0 deletions