OSDN Git Service

Do a TryLock when allocating a ProfilingInfo from the interpreter.
authorNicolas Geoffray <ngeoffray@google.com>
Tue, 1 Mar 2016 14:11:40 +0000 (14:11 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Tue, 1 Mar 2016 14:13:17 +0000 (14:13 +0000)
commit1e7da9bd04bdd2664a4196f1d7e285c010f8881f
tree4d028a231ecbc684eebe1b4a5a3022ff46801769
parent09294dc760d77d64ea4168c1fd6d96fbfbe38018
Do a TryLock when allocating a ProfilingInfo from the interpreter.

This removes some thread contentions just for allocating ProfilingInfo.

bug:23128949

Change-Id: I9ff7d44c4b0ee272425cf4c6248d3065f67958f3
runtime/jit/jit_code_cache.cc
runtime/jit/jit_code_cache.h