summaryrefslogtreecommitdiff
path: root/libart/src/main/java/dalvik/system/VMStack.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove / annotate @CorePlatformApi(LEGACY) APIs in Android S as STABLE and ↵Victor Chang2021-06-281-3/+10
| | | | | | | | | | | as @SystemApi(MODULE_LIBRARIES) Bug: 157639992 Bug: 154796679 Test: m update-api Merged-In: I3b085afa9e1d1c843428fb141be35b871d320957 Change-Id: I3b085afa9e1d1c843428fb141be35b871d320957 (cherry picked from commit e965ca152f660c1bf563b482a7e2e1cf1385ed54)
* Document IoBridge, EmptyArray and VMStackVictor Chang2021-06-231-0/+14
| | | | | | | | | Also add ojluni/annotations/mmodule/java/lang/Math.annotated.java Bug: 154796679 Test: m droid Merged-In: Id3a15534ff98d8928b0c018044b1200dd8204158 Change-Id: Id3a15534ff98d8928b0c018044b1200dd8204158
* Use new UnsupportedAppUsage annotation.Artur Satayev2019-12-111-1/+2
| | | | | | | | | | | | | | | New annotation is tools/platform-compat/annotation/src/java/android/compat/annotation/UnsupportedAppUsage.java. Existing annotations in libcore/ and frameworks/ will be deleted after the migration: - libcore/dalvik/src/main/java/dalvik/annotation/compat/UnsupportedAppUsage.java - frameworks/base/core/java/android/annotation/UnsupportedAppUsage.java This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library. Bug: 145132366 Test: m && diff unsupportedappusage_index.csv Exempt-From-Owner-Approval: +2 by owner, by vote lost on latest patch. Change-Id: Ib5b7baa399cdc38da1d3ca622ba0ba26936b1b2d
* Add missing default constructorsPaul Duffin2018-11-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | Metalava was accidentally including default constructors in the API generated for CorePlatformApi and IntraCoreApi annotations. This change adds the constructor and appropriate annotations to allow the metalava bug to be fixed without changing the API. Tested by building the API with and without the Metalava fix and checking that they were the same apart from removing the constructors for the following classes as they are not required in the API because the classes are never meant to be instantiated: * dalvik.system.VMSTack * libcore.icu.ICU * libcore.io.DropBox * libcore.io.EventLogger * libcore.net.MimeUtils * libcore.util.SneakyThrow Bug: 119859108 Test: see above Change-Id: I87cdb60827edbc2703b9b8723e873aa49c82d9cf
* Add @UnsupportedAppUsage to non-ojluni classesPaul Duffin2018-10-181-0/+5
| | | | | | | Test: ensured that generated light grey list did not change Bug: 117818301 Merged-In: Ifcdd4c815a2d8fc438290a5b3b9db669f5035145 Change-Id: I6bd92384b4c81d425961d0f9ef4b681271e36125
* More @CorePlatformApi annotations for libcoreNeil Fuller2018-10-051-0/+2
| | | | | | | | These annotations are required for further targets to build. Bug: 113148576 Test: build Change-Id: I695c6b973835b5de2311e0ed99cb2fb55b69bc94
* Deprecate VMStack.getCallingClassLoader() and VMStack.getStackClass1().Tobias Thierer2018-07-301-0/+6
| | | | | | | | | | | | | | | | | | | | | | Both methods are unused since f0346c9fa808f2addccebbfb3552129e7e21a56e because all of the previously existing callers meant to call Reflection.getCallerClass() instead. This CL removes neither of the two methods because: 1.) getCallingClassLoader() is used by too many apps and can't be removed without further investigation. 2.) getStackClass1() is used by the only test for getStackClass2(), which in turn is still used by Reflection.getCallerClass(). If/when Reflection.getCallerClass() gets implemented separately (with slightly different semantics) and getStackClass2() is either removed or gets its own test, getStackClass1() could be removed. Bug: 111850480 Test: Treehugger Change-Id: Ice4b4b7d1ec576eb1304d36dcde1cb5e06845c47
* Libcore: Add VMStack.getAnnotatedStackTraceAndreas Gampe2018-01-081-0/+12
| | | | | | | | | | | | | | | | | | Add AnnotatedStackTraceElement to describe a stack frame and held locks as well as an object the frame is blocked on. Add VMStack.getAnnotatedStackTrace to return an array that contains an AnnotatedStackTraceElement for each stack frame, with the StackTraceElement describing the frame, an array containing all objects that are locked at the described location, and optionally for the top frame an object the thread is blocked on, waiting for or sleeping on. Bug: 70538431 Test: m test-art-host Test: art/test/testrunner/testrunner.py -b --host -t 168 Change-Id: I0d92e3d8182c4a592549a6445854816f71afd29e
* jni: Switch to @FastNative for all JNI functions.Igor Murashkin2017-02-211-0/+7
| | | | | | | | | | | | Switches all (248) methods that previously used !bang JNI in art/libcore to all use @FastNative. As a nice benefit, this should be about 1.5x faster than before for those method calls. This measures out to a 3% startup time improvement for system_server. Test: make test-art-host Bug: 34955272 Change-Id: I0881f401c7660c79f275235362777bfa58241deb
* Fix Class.forName(..., ..., null) to pass 068-classloader's testClassForNameBrian Carlstrom2015-04-211-4/+3
| | | | | | | | This caused fallout elsewhere requiring - Package fix to pass 005-annotations - ObjectInputStream fix to pass 093-serialization Change-Id: I6bc470e20fa177e8a3debe55c90a84eef7ef518e
* Making libcore build WITH_ARTBrian Carlstrom2013-06-051-0/+80
Change-Id: I4db5fbf6a5977c02a1dffffc5386f7fc04ef7eab