OSDN Git Service

Clear inline caches at each full GC.
authorNicolas Geoffray <ngeoffray@google.com>
Mon, 7 Mar 2016 14:29:04 +0000 (14:29 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Wed, 9 Mar 2016 17:25:19 +0000 (17:25 +0000)
commitb6e20ae17d0881a66c22532e4152ce6779454a92
tree35d7fbfb812aef11ea51010794dce26eb91c1ae4
parent8a8c84114b16b8971bc2d3c5c7e0e31470d1a68b
Clear inline caches at each full GC.

This fixes occasional failures of 141-class-unload.

Also fix a bug where clearing inline caches also cleared the dex
pc associated with it.

bug:26846185
bug:23128949
Change-Id: I77bf1dee229d7764c3cc21440829c7fba7b37001
compiler/jit/jit_compiler.cc
compiler/optimizing/inliner.cc
runtime/gc/heap.cc
runtime/jit/jit_code_cache.cc
runtime/jit/jit_code_cache.h
runtime/jit/profiling_info.cc
runtime/jit/profiling_info.h
test/141-class-unload/src/Main.java