| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Bug: 154796679
Test: m stable.art.module.platform.api.stubs.source-update-current-api
Change-Id: Ic72aba4f3abfcdabdbec7b52ece8c0c927aaea71
|
| |
|
|
|
|
|
|
| |
Bug: 154796679
Test: m stable.art.module.platform.api.stubs.source-update-current-api
m legacy.art.module.platform.api.stubs.source-update-current-api
Test: m update-api
Change-Id: Ia2a208cb822c9a5d698550563a45ba28e4f6d93f
|
| |
|
|
|
|
| |
Bug: 124232146
Test: m update-api
Change-Id: I8bed60f653941dbf8b7e6666b7045bae2158a69a
|
| |
|
|
|
|
|
|
| |
This reverts commit 782e160ebe8db9398ef39fcd84d2330eac825013.
Reason for revert: Fixing ThreadStress timeouts.
Change-Id: I94d8ea808afdd537800738fc242636e5b35485d9
|
| |
|
|
|
|
|
|
|
|
| |
This reverts commit 080525b3bd04dd972a7e4c68054dc2bc9b870ae9.
Bug: 28845097
Reason for revert: ThreadStress flake
Change-Id: Idd71edb5ab739f5fc0495e80ae79486bd2d8fe74
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Bug: 28845097
Test: cts-tradefed run cts -m CtsLibcoreTestCases
Test: The following sequence of invocations hangs both before and
after this CL:
LockSupport.unpark(Thread.currentThread());
LockSupport.parkUntil(-1);
LockSupport.park();
Change-Id: I96daba0977550faf3a77a9a66c63428d7e12eb2f
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit f62e812bcf9b566599ff565ab469f90907fb11a6.
Reason for revert: This CL unfortunately breaks:
sdk_gphone_x86-sdk_addon_mac
sdk_mac
Following error:
art/runtime/thread.cc:370:4: warning: "LockSupport.park/unpark implemented as noops without FUTEX support." [-W#warnings]
#warning "LockSupport.park/unpark implemented as noops without FUTEX support."
^
art/runtime/thread.cc:295:24: error: unused parameter 'is_absolute' [-Werror,-Wunused-parameter]
void Thread::Park(bool is_absolute, int64_t time) {
^
art/runtime/thread.cc:295:45: error: unused parameter 'time' [-Werror,-Wunused-parameter]
void Thread::Park(bool is_absolute, int64_t time) {
^
1 warning and 2 errors generated.
Change-Id: Ifa5e6be9c73ef9b03fc6854f2087f487949ad6f7
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Bug: 28845097
Test: cts-tradefed run cts -m CtsLibcoreTestCases
Test: The following sequence of invocations hangs both before and
after this CL:
LockSupport.unpark(Thread.currentThread());
LockSupport.parkUntil(-1);
LockSupport.park();
Change-Id: I7ca5d5981d44823c7d6732a59e390dc55927a6ce
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before this CL, Android was carrying 27 documented and 8 undocumented
patches to replace:
Reflection.getCallerClass() -> VMStack.getCallerClass1()
and
ClassLoader.getClassLoader(Reflection.getCallerClass()) (or similar)
-> VMStack.getCallingClassLoader().
ClassLoader.getClassLoader(class) returns null (signifying the boot
classloader) if class == null, else it returns class.getClassLoader)().
This CL integrates Reflection.getCallerClass() and
ClassLoader.getClassLoader() in order to drop all of these Android
patches; after this CL, both VMStack.getCallerClass1() and
VMStack.getCallingClassLoader() are now only used from tests. Their
removal is left to a follow-up CL.
Notes:
- After this CL, Logger.java is exactly identical to upstream
OpenJDK 8u121-b13.
- The semantics of Reflection.getCallerClass() after this CL match the
semantics of the (now removed) method VMStack.getCallerClass1(), but
they are different from the RI's Reflection.getCallerClass(). All
current callers of Reflection.getCallerClass() expect the RI semantics,
therefore these semantics should be changed in a follow-up CL
(bug 111800372).
Test: CtsLibcoreTestCases
Test: m test-art-host-gtest-jni_internal_test64
Bug: 111850480
Change-Id: I3d177805f7a28a4f32b69d3344b3c4b7564c327a
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
Adds Sun.misc.Unsafe#loadFence, storeFence, fullFence, and a couple of CAS-based
atomic operations.
Downstreamed from jdk9 b84b5f6d9ed5
Bug: 26264765
Change-Id: Ie4142b09c1ba18d9f0fc37a627797798822d1abf
|
| |
|
|
| |
This reverts commit 6e91d0c85a31020388bd165bcbefa595888a7dd1.
|
| |
|
|
|
|
| |
This reverts commit 5ef64a3267fe516dbe032af2d7de243bdfbc4e29.
Change-Id: I5b3fe02b8a1143c9599d69ac8512d037a0c88d4d
|
|
|
Change-Id: If58f42ecd773feb746eabb206369327852d01e0e
|