History log of /frameworks/native/libs/binder/ProcessState.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
96e8322f4d11af8538d6d0db5f1a11338b8aee9d 15-Apr-2016 Colin Cross <ccross@android.com> Log when binder thread pool is starved

Log when the number of threads executing binder commands is equal to the
maximium size of the thread pool for >100ms.

Bug: 28201939
Change-Id: I892863d8a81c06e362d4ae18ab08485fdec3c0bb
/frameworks/native/libs/binder/ProcessState.cpp
a082fa8a6bd4303d5a5921133746f9e2856ab0d4 08-Apr-2016 Philip Cuadra <philipcuadra@google.com> Binder: add pid to thread name for binder threads.

Including the pid in the binder thread name improves attribution of
binder time in systraces.
Change-Id: I40461b6f98c51c6e5f0acc1c24d443d0e7109b69
/frameworks/native/libs/binder/ProcessState.cpp
0fe7ce375ed6c9fcd86b8bb3a836bc37c9740831 24-Dec-2015 Nick Kralevich <nnk@google.com> More O_CLOEXEC

Change-Id: I31991ed089f395174857e86e509b8190ad98f92a
/frameworks/native/libs/binder/ProcessState.cpp
153008efb5a00ed3c18d588ce15f90d2442a9786 09-Jul-2015 Elliott Hughes <enh@google.com> am 9df25446: am 9bad590e: Merge "Binder on Windows? Unlikely."

* commit '9df254460b2dfd3db1132affc9489d0be01def23':
Binder on Windows? Unlikely.
4d2f4bba0d9fb72a7d3340e68ddaea448f2dc36e 09-Jul-2015 Elliott Hughes <enh@google.com> Binder on Windows? Unlikely.

Change-Id: I36c1bee4ed33b9b0d24109a6dbaefa0548dd5aa8
/frameworks/native/libs/binder/ProcessState.cpp
376b822728c582a9deb26ce339deb5204ae4d22e 14-Apr-2015 Wale Ogunwale <ogunwale@google.com> Added IPCThreadState::blockUntilThreadAvailable() method.

Will be used by the system_server watchdog to monitor the
availability of binder threads in the process to handle
incoming IPC requests.

Bug: 19297165
Change-Id: I39175f3869ad14da5620fddb47f454e6e4ee2b25
/frameworks/native/libs/binder/ProcessState.cpp
162ea0e9e8f3c293b7572bfff2671a5af5244032 28-Mar-2014 Narayan Kamath <narayan@google.com> Remove global variables from ProcessState.

These weren't really being used and they make it
very hard to reason about who looks at command line
arguments.

Processes started via app_process (this includes all
zygote forks and the system_server) can get information
about command line arguments from the AndroidRuntime
class, which is available via a call to
AndroidRuntime::getRuntime.

bug: 13647418

Change-Id: I6f92680c3619a68c6d4b0995db4cdc9adc788e36
/frameworks/native/libs/binder/ProcessState.cpp
01502981cddb69b9ab7e4bf8bc66366ae0eb7035 20-Mar-2014 Jesse Hall <jessehall@google.com> Merge "fix valgrind ioctl warning."
6f4f3ab36c5ed1df84eb3a9f7475f0ac42952f58 06-Feb-2014 Colin Cross <ccross@android.com> binder: fix all warnings

Fix warnings related to casting pointers to ints, using %d or %ld to
print size_t/ssize_t, and unused parameters.

Change-Id: I7a13ba83d402952989c1f795cd9e880a95b98d9e
/frameworks/native/libs/binder/ProcessState.cpp
78181df1efee04bb861893714d8b11a24243153f 18-Oct-2012 Jin Wei <wei.a.jin@intel.com> fix valgrind ioctl warning.

Initialize local variable to avoid syscall ioctl warning.

Change-Id: I33a90917856018a8527305bb362948ef03bd734c
Origin-Change-Id: I022ebce40b3774a815639a5af34bc7aeb2489936
Signed-off-by: Jin Wei <wei.a.jin@intel.com>
Signed-off-by: Jian Luo <jian.luo@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 62797
/frameworks/native/libs/binder/ProcessState.cpp
a7b0f04aaf7f04a9617dbbc839b1aaa6f20ca6d6 19-Jun-2013 Todd Poynor <toddpoynor@google.com> defaultServiceManager wait for service manager ready

If the service manager is not ready when we attempt to create a local
proxy, fail and retry.

Change-Id: I7d7300bc07cd70608793479aa3da282d066da7f6
/frameworks/native/libs/binder/ProcessState.cpp
e3e43b384e0603e5883b501cdb169641fab8fea2 08-Mar-2013 Mathias Agopian <mathias@google.com> rename binder services main thread to Binder_*

When a binder service's main thread joins the thread pool
it retains its name (whatever the exec name was), which is
very confusing in systrace.

we now rename that thread just like its friends in the
thread pool.

Change-Id: Ibb3b6ff07304b247cfc6fb1694e72350c579513e
/frameworks/native/libs/binder/ProcessState.cpp
1b80f793d2328dd94a151411a1cc3a676121ffc7 18-Apr-2012 Mathias Agopian <mathias@google.com> add set thread count

Change-Id: I70f02908d8362a465eb8a2a24356f6989847f7ba
/frameworks/native/libs/binder/ProcessState.cpp
e8db871de7b26bf4fe7ae8d400c4a2c503cfe3a2 17-Apr-2012 Mathias Agopian <mathias@google.com> double checked locking pattern is not safe on SMP

Change-Id: Ie6dd564bdcd45647cb4d62ab259462e3db112576
/frameworks/native/libs/binder/ProcessState.cpp
102d539a4c6e70ec2403bfd2bfef3a3373da15ac 28-Feb-2012 Glenn Kasten <gkasten@google.com> Shorten thread names

prctl(PR_SET_NAME) limits to 15 characters. Before we had names like
"Binder Thread #" and the counter was cut off :-( Also remove redundant
"thread" at end of name; it's always a thread.

Change-Id: I1f99c2730ba0787ed9b59c15914356cddf698e2f
/frameworks/native/libs/binder/ProcessState.cpp
e6f43ddce78d6846af12550ff9193c5c6fe5844b 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
/frameworks/native/libs/binder/ProcessState.cpp
32397c1cd3327905173b36baa6fd1c579bc328ff 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
/frameworks/native/libs/binder/ProcessState.cpp
6807e59e0ff943cc6225d46e3c33a8a7eae9b3d7 20-Oct-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
/frameworks/native/libs/binder/ProcessState.cpp
c2be743a9c366a17d64c6afb5a299664ddfcd32f 13-Jul-2011 Mike Lockwood <lockwood@android.com> Remove some #ifdef HAVE_ANDROID_OS that were needed for the simulator build

Change-Id: I13d9f251f86c05ae5405f37adbf6b8e9660935ba
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/native/libs/binder/ProcessState.cpp
e16986cae281f118ecd563c384b7f6e5a4b937b5 09-Jul-2011 Jeff Brown <jeffbrown@google.com> Eliminate single-process mode.
Bug: 5010576

Change-Id: Id450dc83efed4897d1e4ff451530fed14457aace
/frameworks/native/libs/binder/ProcessState.cpp
c0c1092183ceb38dd4d70d2732dd3a743fefd567 31-Oct-2009 Rebecca Schultz Zavin <rebecca@android.com> Modify the binder to request 1M - 2 pages instead of 1M. The backing store
in the kernel requires a guard page, so 1M allocations fragment memory very
badly. Subtracting a couple of pages so that they fit in a power of
two allows the kernel to make more efficient use of its virtual address space.

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/frameworks/native/libs/binder/ProcessState.cpp
c5b2c0bf8007562536b822eb060fc54a01f8e08b 20-May-2009 Mathias Agopian <mathias@google.com> move libbinder's header files under includes/binder
/frameworks/native/libs/binder/ProcessState.cpp
208059f67ed2dd9fa025e07fcb6954d3cb61c79e 19-May-2009 Mathias Agopian <mathias@google.com> checkpoint: split libutils into libutils + libbinder
/frameworks/native/libs/binder/ProcessState.cpp