Elliott Hughes
27e3e3300c
am 9a2aba17
: am 38ed337c
: Merge "Hide dlmalloc symbols."
...
* commit '9a2aba176a8b315207c728132591eea57f6b4d53':
Hide dlmalloc symbols.
2014-06-04 03:51:18 +00:00
Elliott Hughes
9a2aba176a
am 38ed337c
: Merge "Hide dlmalloc symbols."
...
* commit '38ed337c1343af1aa55487777ed80de6b0d33638':
Hide dlmalloc symbols.
2014-06-04 03:48:09 +00:00
Elliott Hughes
38ed337c13
Merge "Hide dlmalloc symbols."
2014-06-04 03:30:37 +00:00
Elliott Hughes
9b5235d74e
Hide dlmalloc symbols.
...
We need to leave dlmalloc_trim and dlmalloc_inspect_all exposed for
the VM, but if we're seriously looking at other malloc implementations,
that's something we're going to have to fix.
Bug: 11156955
Change-Id: If85156c280044f1616c09a3c50ba674aaf0e8d3a
2014-06-03 18:47:17 -07:00
Dan Albert
651dde33e4
am d90ded5a
: am c3801894
: Merge "Removes bcopy and bzero from bionic."
...
* commit 'd90ded5a911d5c37da49fb6179cf4ff5b9d48cb3':
Removes bcopy and bzero from bionic.
2014-06-04 01:19:26 +00:00
Dan Albert
d90ded5a91
am c3801894
: Merge "Removes bcopy and bzero from bionic."
...
* commit 'c380189410b66dcaca5936b2fabceab4c492dd53':
Removes bcopy and bzero from bionic.
2014-06-04 01:15:59 +00:00
Dan Albert
c380189410
Merge "Removes bcopy and bzero from bionic."
2014-06-04 01:00:40 +00:00
Dan Albert
ce9ce28e5d
Removes bcopy and bzero from bionic.
...
These symbols are still defined for LP32 for binary compatibility, but
the declarations have been replaced with the POSIX recommended #defines.
Bug: 13935372
Change-Id: Ief7e6ca012db374588ba5839f11e8f3a13a20467
2014-06-03 17:22:07 -07:00
Elliott Hughes
ad5342a0c0
am 5bf90caa
: am 3dbc2fe3
: Merge "Work around "error: variable \'uio\' set but not used"."
...
* commit '5bf90caa78425c0053d35186b91a1c4936ccb149':
Work around "error: variable 'uio' set but not used".
2014-06-04 00:12:10 +00:00
Elliott Hughes
2e9e17c91a
am d575c374
: am bd6b8497
: Merge "Remove an unused parameter from the dlopen implementation."
...
* commit 'd575c374d290d3e590e1e7a228673c68194a473e':
Remove an unused parameter from the dlopen implementation.
2014-06-04 00:12:09 +00:00
Elliott Hughes
b239d3fa27
am 85981760
: am be15d16b
: Merge "Turn on -Wunused and fix the mistakes it uncovers."
...
* commit '859817602d24d5c4868ed8b7d0cc69e5d3babfc6':
Turn on -Wunused and fix the mistakes it uncovers.
2014-06-04 00:12:06 +00:00
Elliott Hughes
5bf90caa78
am 3dbc2fe3
: Merge "Work around "error: variable \'uio\' set but not used"."
...
* commit '3dbc2fe33e7a1c0e545f7762d3c7a98429c5a82b':
Work around "error: variable 'uio' set but not used".
2014-06-03 23:57:03 +00:00
Elliott Hughes
d575c374d2
am bd6b8497
: Merge "Remove an unused parameter from the dlopen implementation."
...
* commit 'bd6b849754386a1befa2c935cde3110cadf422c6':
Remove an unused parameter from the dlopen implementation.
2014-06-03 23:56:58 +00:00
Elliott Hughes
3dbc2fe33e
Merge "Work around "error: variable 'uio' set but not used"."
2014-06-03 23:41:35 +00:00
Elliott Hughes
b082645ccb
Work around "error: variable 'uio' set but not used".
...
I've sent the real fix upstream, and will merge that when they commit it.
Change-Id: I75e5cab87026f8990c585d364dd178753d727e2a
2014-06-03 16:39:58 -07:00
Elliott Hughes
bd6b849754
Merge "Remove an unused parameter from the dlopen implementation."
2014-06-03 23:36:35 +00:00
Elliott Hughes
859817602d
am be15d16b
: Merge "Turn on -Wunused and fix the mistakes it uncovers."
...
* commit 'be15d16b7246e32a1e622d4442cf919646bc71a9':
Turn on -Wunused and fix the mistakes it uncovers.
2014-06-03 23:24:39 +00:00
Elliott Hughes
1a58629340
Remove an unused parameter from the dlopen implementation.
...
Change-Id: I9297913a743bb570b48ebbe594ff711a481e89e0
2014-06-03 16:23:08 -07:00
Elliott Hughes
be15d16b72
Merge "Turn on -Wunused and fix the mistakes it uncovers."
2014-06-03 23:14:21 +00:00
Elliott Hughes
d286796fce
Turn on -Wunused and fix the mistakes it uncovers.
...
Change-Id: I023d2d8b547fbc21d4124bb7510d42b06a0dc501
2014-06-03 15:22:34 -07:00
Paul Jensen
0d78bdaf65
Merge "Make host resolver call __connect() rather than connect() so mark isn't cleared."
2014-06-03 17:23:28 +00:00
Dan Albert
109c5a81d4
am 6e587086
: am 2f9400b6
: Merge "Use __libc_fatal() for failed malloc in new"
...
* commit '6e5870865e11f38ac9fcdf39c6097f1e39af9234':
Use __libc_fatal() for failed malloc in new
2014-06-03 17:15:22 +00:00
Dan Albert
6e5870865e
am 2f9400b6
: Merge "Use __libc_fatal() for failed malloc in new"
...
* commit '2f9400b679ffe08f7190781e64edda5edf0f7297':
Use __libc_fatal() for failed malloc in new
2014-06-03 17:12:16 +00:00
Dan Albert
2f9400b679
Merge "Use __libc_fatal() for failed malloc in new"
2014-06-03 16:53:47 +00:00
Dan Albert
989725940e
Use __libc_fatal() for failed malloc in new
...
This way we can print a useful message to the log isntead of just dying
mysteriously.
Change-Id: Ib660c2fd8ce8bb9aa0d0bb634ae08c645d3901e5
2014-06-02 18:48:53 -07:00
Elliott Hughes
87f0392320
am 016074f6
: am 987bd5c6
: am 2deef73f
: Merge "Avoid a system call in \'gettid\'."
...
* commit '016074f6beec46fa2140e2cabd11ade488776402':
Avoid a system call in 'gettid'.
2014-06-02 17:55:53 +00:00
Elliott Hughes
016074f6be
am 987bd5c6
: am 2deef73f
: Merge "Avoid a system call in \'gettid\'."
...
* commit '987bd5c64f1381185f27afb60ec46be5e9eaba36':
Avoid a system call in 'gettid'.
2014-06-02 17:52:28 +00:00
Elliott Hughes
987bd5c64f
am 2deef73f
: Merge "Avoid a system call in \'gettid\'."
...
* commit '2deef73fe1e9dbf57b683a15fd1e0c2922e6ecc0':
Avoid a system call in 'gettid'.
2014-06-02 17:48:53 +00:00
Elliott Hughes
2deef73fe1
Merge "Avoid a system call in 'gettid'."
2014-06-02 17:43:27 +00:00
Elliott Hughes
5d9a7ba0dc
Avoid a system call in 'gettid'.
...
System calls can be pretty slow. This is mako, which has one of our
lowest latencies:
iterations ns/op
BM_unistd_getpid 10000000 209
BM_unistd_gettid 200000000 8
Bug: 15297299 (kernel panic from too many gettid calls)
Bug: 15315766 (excessive gettid overhead in liblogd)
Change-Id: I49656c0fc5b5d092390264a59e4f2c0d8a8b1aeb
2014-06-02 10:32:55 -07:00
Dmitriy Ivanov
bbecdcad08
am 109e3b16
: am 5f29c328
: am 831405b7
: Merge "Make atexit.dlclose work for glibc"
...
* commit '109e3b16137d17d68e2b1a02ce1df054d13c283a':
Make atexit.dlclose work for glibc
2014-05-31 01:35:30 +00:00
Dmitriy Ivanov
109e3b1613
am 5f29c328
: am 831405b7
: Merge "Make atexit.dlclose work for glibc"
...
* commit '5f29c32844d8997d65a4ac8e8d9efa7903d6f83a':
Make atexit.dlclose work for glibc
2014-05-31 01:33:06 +00:00
Dmitriy Ivanov
5f29c32844
am 831405b7
: Merge "Make atexit.dlclose work for glibc"
...
* commit '831405b749d15a11fb947a40d61fd858e952d860':
Make atexit.dlclose work for glibc
2014-05-31 01:31:26 +00:00
Dmitriy Ivanov
831405b749
Merge "Make atexit.dlclose work for glibc"
2014-05-31 01:28:33 +00:00
Dmitriy Ivanov
214e64135e
Make atexit.dlclose work for glibc
...
* build libtest_atexit.so
* remove atexit(NULL) - glibc segfaults on it
Bug: 15350494
Change-Id: I27d79130c32c5691b0e8790a57d92f9710f5bf4a
2014-05-30 18:16:09 -07:00
Christopher Ferris
9a545ee6d9
am a59d22ef
: am bd1ec44c
: am 66b5e6b6
: Merge "Do not run dlclose test on glibc."
...
* commit 'a59d22efce6f1a2003d8c54be72853e18f6315a0':
Do not run dlclose test on glibc.
2014-05-31 00:50:18 +00:00
Christopher Ferris
a59d22efce
am bd1ec44c
: am 66b5e6b6
: Merge "Do not run dlclose test on glibc."
...
* commit 'bd1ec44cc5ef01c125fe2b61871927561a43b444':
Do not run dlclose test on glibc.
2014-05-31 00:46:00 +00:00
Christopher Ferris
bd1ec44cc5
am 66b5e6b6
: Merge "Do not run dlclose test on glibc."
...
* commit '66b5e6b609f16062262b777905bdd2305a941596':
Do not run dlclose test on glibc.
2014-05-31 00:43:52 +00:00
Christopher Ferris
66b5e6b609
Merge "Do not run dlclose test on glibc."
2014-05-31 00:41:37 +00:00
Elliott Hughes
468c292262
am df2e70f3
: am d3f2a204
: am 7a5732bd
: Merge "Add some missing __noreturn attributes."
...
* commit 'df2e70f39036cab8bcbf8c238f39b21f83b32d8d':
Add some missing __noreturn attributes.
2014-05-30 23:07:32 +00:00
Elliott Hughes
df2e70f390
am d3f2a204
: am 7a5732bd
: Merge "Add some missing __noreturn attributes."
...
* commit 'd3f2a204b7faa52b086c85736aa2449d8a83c547':
Add some missing __noreturn attributes.
2014-05-30 23:05:08 +00:00
Elliott Hughes
d3f2a204b7
am 7a5732bd
: Merge "Add some missing __noreturn attributes."
...
* commit '7a5732bd83c64489b9bd953f49fb6ad3b420126c':
Add some missing __noreturn attributes.
2014-05-30 23:01:01 +00:00
Elliott Hughes
7a5732bd83
Merge "Add some missing __noreturn attributes."
2014-05-30 22:58:42 +00:00
Elliott Hughes
6203e7b853
Add some missing __noreturn attributes.
...
This is more honest, and lets us remove a hack.
Change-Id: I309f064743ded5248573ccafc379f78d417db08d
2014-05-30 15:56:25 -07:00
Elliott Hughes
4a7cae7a45
am 8db7b4b5
: am f306c414
: am 3a3b27e0
: Merge "x86: stop unwinding past __bionic_clone."
...
* commit '8db7b4b54ca28f6c80115c43a83323f562d275b7':
x86: stop unwinding past __bionic_clone.
2014-05-30 21:50:51 +00:00
Elliott Hughes
8db7b4b54c
am f306c414
: am 3a3b27e0
: Merge "x86: stop unwinding past __bionic_clone."
...
* commit 'f306c414eb22cf5e80f61f1b26ceafbb3296c651':
x86: stop unwinding past __bionic_clone.
2014-05-30 21:47:24 +00:00
Elliott Hughes
f306c414eb
am 3a3b27e0
: Merge "x86: stop unwinding past __bionic_clone."
...
* commit '3a3b27e04df395b789b92af3d0ed05d2a0f3bf04':
x86: stop unwinding past __bionic_clone.
2014-05-30 21:43:47 +00:00
Elliott Hughes
3a3b27e04d
Merge "x86: stop unwinding past __bionic_clone."
2014-05-30 21:40:28 +00:00
Christopher Ferris
39036f655a
Do not run dlclose test on glibc.
...
The support library for this test is not built for host by default.
Even if the support library is built, the test segfaults on glibc.
Change-Id: I9cb7a364c59b55d4bf5d8634293037cd9bae020b
2014-05-30 11:23:21 -07:00
Elliott Hughes
ee9d5bdd95
x86: stop unwinding past __bionic_clone.
...
The apparent "previous" frame is on another thread's stack.
Bug: 14270816
Bug: 15195760
Change-Id: I884f370e116203c5fa3b05a75fb8f356537261c4
2014-05-30 11:15:32 -07:00