diff options
author | Vladimir Marko <vmarko@google.com> | 2017-11-29 13:00:56 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2017-11-29 14:04:26 +0000 |
commit | e7441631a11e2e07ce863255a59ee4de29c6a56f (patch) | |
tree | a0488fac018ea391d01b751b7254719937bdee8f /compiler/optimizing/code_generator_utils.cc | |
parent | aa25db7d2a6f7f507c27ce49c99a33daf3059f8f (diff) |
Revert "Revert "JIT JNI stubs.""
The original CL,
https://android-review.googlesource.com/513417 ,
had a bug for class unloading where a read barrier was
executed at the wrong time from
ConcurrentCopying::MarkingPhase() ->
ClassLinker::CleanupClassLoaders() ->
ClassLinker::DeleteClassLoader() ->
JitCodeCache::RemoveMethodsIn() ->
JitCodeCache::JniStubKey::UpdateShorty() ->
ArtMethod::GetShorty().
This has been fixed by removing sources of the read barrier
from ArtMethod::GetShorty().
Test: testrunner.py --host --prebuild --jit --no-relocate \
--no-image -t 998-redefine-use-after-free
Bug: 65574695
Bug: 69843562
This reverts commit 47d31853e16a95393d760e6be2ffeeb0193f94a1.
Change-Id: I06e7a15b09d9ff11cde15a7d1529644bfeca15e0
Diffstat (limited to 'compiler/optimizing/code_generator_utils.cc')
0 files changed, 0 insertions, 0 deletions