OSDN Git Service

Put the deletion of profiling info under a GC critical section.
authorNicolas Geoffray <ngeoffray@google.com>
Sat, 30 Jul 2016 21:49:11 +0000 (22:49 +0100)
committerNarayan Kamath <narayan@google.com>
Wed, 10 Aug 2016 08:50:32 +0000 (08:50 +0000)
commit99c959f3868512bb95432cf02a1f0ad3971698bf
tree819dce97eb12d4b4ef424d00d1024d447868c557
parent6b9c54c8ae70d5a75e26bef20a26316ff7c9ab18
Put the deletion of profiling info under a GC critical section.

Otherwise the GC could see dangling pointers.

bug:30033802

(cherry picked from commit cf48fa030780c3185f225d558b704c396f7713cc)

Change-Id: I2c43e973878f50dc147aa0af81551ecc942a790d
runtime/gc/collector_type.h
runtime/gc/gc_cause.cc
runtime/gc/gc_cause.h
runtime/gc/heap.cc
runtime/jit/jit_code_cache.cc
runtime/jit/jit_code_cache.h