History log of /art/runtime/managed_stack-inl.h
Revision Date Author Comments
2196c651ecc77e49992c6c329dfce45f78ff46cb 30-Nov-2017 Vladimir Marko <vmarko@google.com> Revert^4 "JIT JNI stubs."

The original CL,
https://android-review.googlesource.com/513417 ,
has a bug fixed in the Revert^2,
https://android-review.googlesource.com/550579 ,
and this Revert^4 adds two more fixes:
- fix obsolete native method getting interpreter
entrypoint in 980-redefine-object,
- fix random JIT GC flakiness in 667-jit-jni-stub.

Test: testrunner.py --host --prebuild --no-relocate \
--no-image --jit -t 980-redefine-object
Bug: 65574695
Bug: 69843562

This reverts commit 056d7756152bb3ced81dd57781be5028428ce2bd.

Change-Id: Ic778686168b90e29816fd526e23141dcbe5ea880
056d7756152bb3ced81dd57781be5028428ce2bd 30-Nov-2017 Nicolas Geoffray <ngeoffray@google.com> Revert "Revert "Revert "JIT JNI stubs."""

Still seeing occasional failures on 667-jit-jni-stub

Bug: 65574695
Bug: 69843562

This reverts commit e7441631a11e2e07ce863255a59ee4de29c6a56f.

Change-Id: I3db751679ef7bdf31c933208aaffe4fac749a14b
e7441631a11e2e07ce863255a59ee4de29c6a56f 29-Nov-2017 Vladimir Marko <vmarko@google.com> 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
47d31853e16a95393d760e6be2ffeeb0193f94a1 28-Nov-2017 Vladimir Marko <vmarko@google.com> Revert "JIT JNI stubs."

Seems to break 998-redefine-use-after-free in
some --no-image configuration.

Bug: 65574695
Bug: 69843562

This reverts commit 3417eaefe4e714c489a6fb0cb89b4810d81bdf4d.

Change-Id: I2dd157b931c17c791522ea2544c1982ed3519b86
3417eaefe4e714c489a6fb0cb89b4810d81bdf4d 21-Sep-2017 Vladimir Marko <vmarko@google.com> JIT JNI stubs.

Allow the JIT compiler to compile JNI stubs and make sure
they can be collected once they are not in use anymore.

Test: 667-jit-jni-stub
Test: Pixel 2 XL boots.
Test: m test-art-host-gtest
Test: testrunner.py --host --jit
Test: testrunner.py --target --jit
Bug: 65574695
Change-Id: Idf81f50bcfa68c0c403ad2b49058be62b21b7b1f
8cf9cb386cd9286d67e879f1ee501ec00d72a4e1 19-Jul-2017 Andreas Gampe <agampe@google.com> ART: Include cleanup

Let clang-format reorder the header includes.

Derived with:

* .clang-format:
BasedOnStyle: Google
IncludeIsMainRegex: '(_test|-inl)?$'

* Steps:
find . -name '*.cc' -o -name '*.h' | xargs sed -i.bak -e 's/^#include/ #include/' ; git commit -a -m 'ART: Include cleanup'
git-clang-format -style=file HEAD^
manual inspection
git commit -a --amend

Test: mmma art
Change-Id: Ia963a8ce3ce5f96b5e78acd587e26908c7a70d02
36a296ff674e0aea16b29db965f84f81866b1375 13-Jun-2017 Andreas Gampe <agampe@google.com> ART: Refactor stack.h

Factor out LockCountData, ShadowFrame and JavaFrameRootInfo and leave
stack.h for the StackVisitor. Move single-use function to user to remove
DexFile dependency.

Test: m test-art-host
Change-Id: I53d2880917bdf6782856fd2b16f38a0293f3aefc
513061a792b22c417c938d31c19581390709561c 01-Jun-2017 Andreas Gampe <agampe@google.com> ART: Clean up thread.h and thread_list.h

Remove dependency on stack.h and gc_root.h. Remove unused object
callbacks include. Factor out ManagedStack into its own set of files.
Fix up users of transitive includes.

Test: m test-art-host
Change-Id: I01286c43d8c7710948c161b1348faabb05922e59