summaryrefslogtreecommitdiff
path: root/runtime/class_root.h
AgeCommit message (Collapse)Author
2024-01-24Add visibility attributes in runtime/c* Dmitrii Ishcheikin
Bug: 260881207 Test: presubmit Test: abtd app_compat_drm Test: abtd app_compat_top_100 Test: abtd app_compat_banking Change-Id: Id729aca1d8b6d003ff3e9755112f3283e9f2b507
2021-07-06VarHandle: add StaticFieldVarHandle class Orion Hodson
Add StaticFieldVarHandle class to keep a live reference to the declaring class for the target field of VarHandle's targeting static fields. Bug: 191980149 Test: art/test.py --host -r -g Change-Id: I3a1cada6591d146b8f9fc9066105e3b617290185
2020-05-13Move implementations from class_root.h to -inl.h . Vladimir Marko
Make it possible to include the definition of enum ClassRoot without pulling in a lot of other headers. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Test: aosp_taimen-userdebug boots. Change-Id: Ic90fdd70bfe0c5428a5c9a0d7901ea7e15b03488
2020-03-25Add Handle::GetFromGdb function Alex Light
When using a debugger it is normally quite difficult to examine mirror objects being held by Handles due to the inlining of the various accessor functions. This adds a new 'GetFromGdb' function that is emitted normally to allow one to decode the handle from gdb. This function is defined for every Handle type using a macro. Test: Manual debugging Change-Id: I7cb95468b1a14438df4dccdf84b48e2af5ec71b9
2018-11-19Support shared libraries in ClassLoaderContext::CreateClassLoader. Nicolas Geoffray
bug: 111174995 Test: dex2oat_test, class_loader_context_test Change-Id: I482012eca408f9e064d7c3d787662376e1b0de3b
2018-10-25ART: Do some include-what-you-use Andreas Gampe
Help with transitive includes. In preparation for new specialized headers reducing transitivity. Bug: 118385392 Test: mmma art Change-Id: Ib465ecceec3331ea81588fb4a43eb65e766b6904
2018-08-23Fix the template parameter passed to some art::GetClassRoot uses. Roland Levillain
Test: art/test.py Change-Id: Icb6a1103e1f84a480bcb186a47bc282912ccc18a
2018-06-01ObjPtr<>-ify array allocations. Vladimir Marko
And remove some unnecessary calls to ObjPtr<>::Ptr(). Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 31113334 Change-Id: Ie313980f7f23b33b0ccea4fa8d5131d643c59080
2018-05-25Remove static_class_ from Method/VarHandle and CallSite. Vladimir Marko
And add MethodHandle to the class roots to avoid extra indirection through MethodHandleImpl. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 31113334 Change-Id: Iaf172f3732677f2b4509e8297e6e9af5fb81a89f
2018-05-25Refactor ClassRoot/GetClassRoot(). Vladimir Marko
Move it outside the ClassLinker, into its own header file, and add retrieval based on a mirror class template argument. Keep the SetClassRoot() as a private member of ClassLinker. Make the new GetClassRoot()s return ObjPtr<>. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 31113334 Change-Id: Icbc6b62b41f6ffd65b437297a21eadbb0454e2b7