Package: android-platform-art / 11.0.0+r48-5

Metadata

Package Version Patches format
android-platform-art 11.0.0+r48-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
use android dlmalloc.patch | (download)

runtime/gc/allocator/dlmalloc.cc | 2 1 + 1 - 0 !
runtime/gc/allocator/dlmalloc.h | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 make libart use dlmalloc from
https://android.googlesource.com/platform/external/dlmalloc
missing system includes.patch | (download)

libartbase/arch/instruction_set.cc | 1 1 + 0 - 0 !
libartbase/base/arena_allocator.h | 1 1 + 0 - 0 !
libartbase/base/arena_containers.h | 1 1 + 0 - 0 !
libartbase/base/bit_vector-inl.h | 1 1 + 0 - 0 !
libartbase/base/bit_vector.cc | 1 1 + 0 - 0 !
libartbase/base/bit_vector.h | 1 1 + 0 - 0 !
libartbase/base/endian_utils.h | 1 1 + 0 - 0 !
libartbase/base/file_magic.cc | 1 1 + 0 - 0 !
libartbase/base/file_utils.cc | 1 1 + 0 - 0 !
libartbase/base/logging.cc | 1 1 + 0 - 0 !
libartbase/base/membarrier.cc | 1 1 + 0 - 0 !
libartbase/base/memfd.cc | 1 1 + 0 - 0 !
libartbase/base/scoped_flock.cc | 2 2 + 0 - 0 !
libartbase/base/unix_file/fd_file.cc | 1 1 + 0 - 0 !
libdexfile/dex/descriptors_names.cc | 1 1 + 0 - 0 !
libdexfile/dex/dex_file_loader.h | 1 1 + 0 - 0 !
libdexfile/dex/dex_file_types.h | 2 2 + 0 - 0 !
libdexfile/dex/method_reference.h | 1 1 + 0 - 0 !
libprofile/profile/profile_boot_info.cc | 1 1 + 0 - 0 !
runtime/arch/instruction_set_features.cc | 2 2 + 0 - 0 !
runtime/arch/x86/context_x86.cc | 2 2 + 0 - 0 !
runtime/base/mutex.cc | 1 1 + 0 - 0 !
runtime/exec_utils.cc | 1 1 + 0 - 0 !
runtime/gc/accounting/heap_bitmap.cc | 2 2 + 0 - 0 !
runtime/gc/accounting/read_barrier_table.h | 1 1 + 0 - 0 !
runtime/jit/profiling_info.h | 1 1 + 0 - 0 !
runtime/monitor.h | 1 1 + 0 - 0 !
runtime/runtime_common.h | 1 1 + 0 - 0 !
sigchainlib/sigchain.cc | 1 1 + 0 - 0 !
29 files changed, 34 insertions(+)

 somehow upstream builds don't need these headers :-/
ucontext.patch | (download)

runtime/arch/arm/fault_handler_arm.cc | 8 4 + 4 - 0 !
runtime/arch/arm/instruction_set_features_arm.cc | 5 3 + 2 - 0 !
runtime/arch/arm64/fault_handler_arm64.cc | 8 4 + 4 - 0 !
runtime/arch/x86/fault_handler_x86.cc | 8 4 + 4 - 0 !
runtime/native_stack_dump.cc | 3 2 + 1 - 0 !
5 files changed, 17 insertions(+), 15 deletions(-)

 use `ucontext_t` instead of `ucontext`
 Both Bionic and glibc define a struct called `ucontext_t` but only Bionic
 defines an alias `ucontext_t`. Let's use the more standardized one.
atomic exception specification.patch | (download)

runtime/gc_root.h | 2 1 + 1 - 0 !
runtime/mirror/dex_cache.h | 4 2 + 2 - 0 !
runtime/mirror/object_reference.h | 2 1 + 1 - 0 !
3 files changed, 4 insertions(+), 4 deletions(-)

 conforms with the exception specification of `std::atomic`
 All constructors of `std::atomic` require `noexcept`. As a result, its members
 must also be able to instantiate without any exception throwing.
image space dereference.patch | (download)

runtime/gc/space/image_space.cc | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 get libart building
storage mode concat.patch | (download)

runtime/image.cc | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix concatenation of storage_mode string.
method reference std ns.patch | (download)

libdexfile/dex/method_reference.h | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 add standard namespace scope resolution
python3 gen_mterp.patch | (download)

runtime/interpreter/mterp/common/gen_setup.py | 2 1 + 1 - 0 !
runtime/interpreter/mterp/gen_mterp.py | 10 5 + 5 - 0 !
2 files changed, 6 insertions(+), 6 deletions(-)

 fix python interpreter name
stats incomplete def.patch | (download)

libartbase/base/stats.h | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 use `stats*` instead of `stats`
fix build on non x86.patch | (download)

libartbase/base/safe_copy.cc | 7 4 + 3 - 0 !
1 file changed, 4 insertions(+), 3 deletions(-)

 non-x86 arches do not have page_size
workaround cacheflush on arm.patch | (download)

libartbase/base/utils.cc | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 workaround cacheflush on arm
arm asm instruction.patch | (download)

runtime/interpreter/mterp/arm/main.S | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 arm asm instruction
fix standard namespace errors.patch | (download)

libdexfile/dex/compact_offset_table.h | 4 2 + 2 - 0 !
runtime/class_linker.cc | 2 1 + 1 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 add missing 'std::' scope identifiers.
add assembler macro.patch | (download)

runtime/arch/x86/asm_support_x86.S | 8 6 + 2 - 0 !
runtime/arch/x86/jni_entrypoints_x86.S | 4 2 + 2 - 0 !
runtime/arch/x86/memcmp16_x86.S | 38 21 + 17 - 0 !
runtime/arch/x86/quick_entrypoints_x86.S | 8 4 + 4 - 0 !
runtime/arch/x86_64/asm_support_x86_64.S | 7 6 + 1 - 0 !
runtime/arch/x86_64/jni_entrypoints_x86_64.S | 2 1 + 1 - 0 !
runtime/arch/x86_64/quick_entrypoints_x86_64.S | 10 5 + 5 - 0 !
7 files changed, 45 insertions(+), 32 deletions(-)

 switch to an assembler macro for cfi_restore_state_and_def_cfa

Newer versions of clang reject multiple assembler directives
on the same line, which breaks the preprocessor macro
CFI_RESTORE_STATE_AND_DEF_CFA. Fix it by making it an assembler
macro instead.

Bug: 191980979
fix build on armhf.patch | (download)

runtime/arch/arm/jni_entrypoints_arm.S | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
0016 Remove constexpr.patch | (download)

runtime/thread_linux.cc | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 remove constexpr

Fixes:

error: constexpr variable 'kHostAltSigStackSize' must be initialized by a constant expression