| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
Also removes the related native code.
These open() methods are no longer used due to
https://r.android.com/725443 and are private with no unsupported
app usage.
Bug: 112107427
Test: atest CtsLibcoreTestCases
Change-Id: I0e4ec21a0686eb151d2da2eb0c11def70921b3e9
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Quite a lot of the patched methods are actually unused in Android so
they were commented out and the patches reverted as there is no point
in maintaining patches on code that is never called.
The patches were cleaned up a little bit as follows:
* Android is always little-endian.
- Moved the setting of the byteOrder field into the static block so
as to remove one patch. Removed some commented out code from
byteOrder() which does not match upstream. This patch is largely
an optimization and simplification so we could remove it
completely without changing behavior. However, it would make it
a lot less obvious that we only support little endian so I think
it is worth keeping.
* Direct memory management unused on Android.
* Bulk get/put methods are unused on Android.
- These are unused so just reverted the patches on upstream code and
commented them all out. They are two separate patches as they
provide different capabilities.
* Remove support for java.lang.management.
- Android does not support the java.lang.management package which
provides beans to monitor the JVM runtime. Updated the marker to
make it clear why this is removed.
Commenting out the unused native methods necessitated the cleaning up
of the native code.
Bug: 110251104
Test: make dist, flash, CtsLibcoreTestCases
Change-Id: Ia1ccf6ae3ca0f13c8bb0b5ae5a3b5a49d0d4e855
|
|
|
This reverts commit 70cd18f61218aa0fa8b7d3ce47b28553fd9ddca1.
The initialization order has been fixed by moving Float,
Double and System to the beginning as they are needed for
resizing StringBuilder's internal buffer, used for class
initializers of some other classes, notably Inet*Addrees.
Also change libbase to be dynamically linked to avoid
multiple definitions of gMinimumLogSeverity which caused
some tests to fail as dalvikvm would initialize a copy in
the libbase.so but JVM_Exit() would use its own copy in
the libopenjdkd.so, ignoring the requested verbosity.
Test: Pixel 2 XL boots.
Test: cts-tradefed run cts --m vm-tests-tf
Test: cts-tradefed run cts -d -m CtsLibcoreTestCases
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Test: Repeat previous 2 tests without preloaded-classes.
(cherry picked from commit 1ba8b2ff33dd4cd3b60a82cb49f72b35922f36c3)
Change-Id: I2e5ca42615136ad77c368fb6ab75d18dc0734800
Merged-In: I4bb977e00f5c0028cafb000d70159043c5ec9fb9
|