<feed xmlns='http://www.w3.org/2005/Atom'>
<title>frameworks_base/cmds/app_process/app_main.cpp, branch replicant-6.0</title>
<subtitle>frameworks/base
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/frameworks_base/'/>
<entry>
<title>Allow debugging only for apps forked from zygote</title>
<updated>2015-08-10T18:39:13+00:00</updated>
<author>
<name>Sebastien Hertz</name>
<email>shertz@google.com</email>
</author>
<published>2015-08-10T16:55:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/frameworks_base/commit/?id=7a09b8322cab26d6e3da1362d3c74964ae66b5d4'/>
<id>7a09b8322cab26d6e3da1362d3c74964ae66b5d4</id>
<content type='text'>
When starting the runtime from app_process, we only pass JDWP options
if starting zygote. It prevents from opening a JDWP connection in
non-zygote programs while Android apps (forked from zygote) remain
debuggable.

Bug: 23050463
Change-Id: If8ea719063a65db4cdeed69a838b52e87b078b08
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When starting the runtime from app_process, we only pass JDWP options
if starting zygote. It prevents from opening a JDWP connection in
non-zygote programs while Android apps (forked from zygote) remain
debuggable.

Bug: 23050463
Change-Id: If8ea719063a65db4cdeed69a838b52e87b078b08
</pre>
</div>
</content>
</entry>
<entry>
<title>Better systrace slices for application startup.</title>
<updated>2015-06-16T11:06:31+00:00</updated>
<author>
<name>Narayan Kamath</name>
<email>narayan@google.com</email>
</author>
<published>2015-06-12T14:34:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/frameworks_base/commit/?id=fbb32f6440ed74a4d27eec03569520580d00da42'/>
<id>fbb32f6440ed74a4d27eec03569520580d00da42</id>
<content type='text'>
This change adds three new timeslices :

- PostFork : As soon as possible after the app forks from the
  zygote. Can be used in conjunction with the system_server
  "Start proc:" event to derive an upper bound on fork() and
  zygote overhead.

- RuntimeInit &amp; ActivityThreadMain for ZygoteInit#runtimeInit
  and ActivityThread#main.

ActivityThread#handleBindApplication and higher level functions
are already well instrumented in systrace. handleBindApplication
should occur immediately after ActivityThread#main.

Note that we use the Activity manager tag to make it easier to
correlate these new events with surrounding events (Start proc
and handleBindApplication) that are already using the AM tag.

bug: 21632700
Change-Id: Ibc01f1721f962c913f3c02a51763b6feb1eb6a4d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change adds three new timeslices :

- PostFork : As soon as possible after the app forks from the
  zygote. Can be used in conjunction with the system_server
  "Start proc:" event to derive an upper bound on fork() and
  zygote overhead.

- RuntimeInit &amp; ActivityThreadMain for ZygoteInit#runtimeInit
  and ActivityThread#main.

ActivityThread#handleBindApplication and higher level functions
are already well instrumented in systrace. handleBindApplication
should occur immediately after ActivityThread#main.

Note that we use the Activity manager tag to make it easier to
correlate these new events with surrounding events (Start proc
and handleBindApplication) that are already using the AM tag.

bug: 21632700
Change-Id: Ibc01f1721f962c913f3c02a51763b6feb1eb6a4d
</pre>
</div>
</content>
</entry>
<entry>
<title>app_main missing include for sys/stat.h</title>
<updated>2015-04-01T16:02:32+00:00</updated>
<author>
<name>Mark Salyzyn</name>
<email>salyzyn@google.com</email>
</author>
<published>2015-04-01T14:36:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/frameworks_base/commit/?id=fc737fb76cc889d0c19bd8bf74d2b5f1fc4fbe6e'/>
<id>fc737fb76cc889d0c19bd8bf74d2b5f1fc4fbe6e</id>
<content type='text'>
app_main.c gets sys/stat.h inherited from
private/android_filesystem_config.h it should
not rely on this in the future. The intent is
to move fs_config function into libcutils and
thus deprecate any need for sys/stat.h in this
include file.

Bug: 19908228
Change-Id: I477b825e582742113f849aaa1df50c41e496b6f6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
app_main.c gets sys/stat.h inherited from
private/android_filesystem_config.h it should
not rely on this in the future. The intent is
to move fs_config function into libcutils and
thus deprecate any need for sys/stat.h in this
include file.

Bug: 19908228
Change-Id: I477b825e582742113f849aaa1df50c41e496b6f6
</pre>
</div>
</content>
</entry>
<entry>
<title>Add mips64 support to app_process.</title>
<updated>2014-12-18T04:27:25+00:00</updated>
<author>
<name>Douglas Leung</name>
<email>douglas.leung@imgtec.com</email>
</author>
<published>2014-12-18T04:25:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/frameworks_base/commit/?id=7e7c6031821e2aa55c756a9c85f97a22f4875552'/>
<id>7e7c6031821e2aa55c756a9c85f97a22f4875552</id>
<content type='text'>
Change-Id: Ieb05a212606f02ebad119a0aea0ed92773ace214
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ieb05a212606f02ebad119a0aea0ed92773ace214
</pre>
</div>
</content>
</entry>
<entry>
<title>Frameworks/base: Turn on -Wall -Werror in cmds</title>
<updated>2014-11-07T22:33:51+00:00</updated>
<author>
<name>Andreas Gampe</name>
<email>agampe@google.com</email>
</author>
<published>2014-10-01T04:48:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/frameworks_base/commit/?id=cfedceb8c180a2e176154d461659e0c3569dc931'/>
<id>cfedceb8c180a2e176154d461659e0c3569dc931</id>
<content type='text'>
Fix small warnings, turn on -Wall -Werror.

Change-Id: Iab1f01a7c7ebd6ba832b75067c5e395f380a1b8b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix small warnings, turn on -Wall -Werror.

Change-Id: Iab1f01a7c7ebd6ba832b75067c5e395f380a1b8b
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean entire arg block when setting process name.</title>
<updated>2014-09-11T21:19:52+00:00</updated>
<author>
<name>Jeff Brown</name>
<email>jeffbrown@google.com</email>
</author>
<published>2014-09-10T23:48:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/frameworks_base/commit/?id=00c0cd4a24bd0f040055f9e786e2df1fa3b7d2d3'/>
<id>00c0cd4a24bd0f040055f9e786e2df1fa3b7d2d3</id>
<content type='text'>
When Android processes fork from Zygote, we rewrite the command line
with a new name, eg. "system_server".  When we do this, we should
fill the entire block with zeros to remove corrupted argument
information that may otherwise remain in the /proc/&lt;pid&gt;/cmdline buffer
and be seen in tools and stack dumps.

Fixed an issue where VM options could be overwritten after setting
the nice name if the name was too long.

Bug: 17474152
Change-Id: Ie6cf9ed7752a04300a340e26cd6812bb35c59e1b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When Android processes fork from Zygote, we rewrite the command line
with a new name, eg. "system_server".  When we do this, we should
fill the entire block with zeros to remove corrupted argument
information that may otherwise remain in the /proc/&lt;pid&gt;/cmdline buffer
and be seen in tools and stack dumps.

Fixed an issue where VM options could be overwritten after setting
the nice name if the name was too long.

Bug: 17474152
Change-Id: Ie6cf9ed7752a04300a340e26cd6812bb35c59e1b
</pre>
</div>
</content>
</entry>
<entry>
<title>Change /dalvik-cache to be owned by root.</title>
<updated>2014-08-29T00:02:37+00:00</updated>
<author>
<name>Alex Light</name>
<email>allight@google.com</email>
</author>
<published>2014-08-27T22:39:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/frameworks_base/commit/?id=55471dcd0f843e79d8665c63165720eca6a9c980'/>
<id>55471dcd0f843e79d8665c63165720eca6a9c980</id>
<content type='text'>
Bug: 16875245

(cherry picked from commit 79bf4007f559e194205f632b23d2bfb6f8d1e7ba)

Change-Id: I29a70215a2207bc4e0db02ab751d32a68edf4b66
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 16875245

(cherry picked from commit 79bf4007f559e194205f632b23d2bfb6f8d1e7ba)

Change-Id: I29a70215a2207bc4e0db02ab751d32a68edf4b66
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix x86 build in app_process.</title>
<updated>2014-04-30T15:45:07+00:00</updated>
<author>
<name>Narayan Kamath</name>
<email>narayan@google.com</email>
</author>
<published>2014-04-30T15:45:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/frameworks_base/commit/?id=6eb1b2611cd2db7f2c2063f8be219d4ef19d11d0'/>
<id>6eb1b2611cd2db7f2c2063f8be219d4ef19d11d0</id>
<content type='text'>
Look for __i386__ and not __x86__.

Change-Id: Iffa3709f9d0c96cce17f3183a6f036a78eccc787
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Look for __i386__ and not __x86__.

Change-Id: Iffa3709f9d0c96cce17f3183a6f036a78eccc787
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Create arch specific cache dirs during zygote startup."</title>
<updated>2014-04-30T08:34:56+00:00</updated>
<author>
<name>Narayan Kamath</name>
<email>narayan@google.com</email>
</author>
<published>2014-04-30T08:34:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/frameworks_base/commit/?id=dfacf855fd91eb2d40891721ad4b92ed65d0b46d'/>
<id>dfacf855fd91eb2d40891721ad4b92ed65d0b46d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Create arch specific cache dirs during zygote startup.</title>
<updated>2014-04-30T08:26:05+00:00</updated>
<author>
<name>Narayan Kamath</name>
<email>narayan@google.com</email>
</author>
<published>2014-04-25T10:43:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/frameworks_base/commit/?id=d1e127e141a8080477f3b3becb792f138ca9ab65'/>
<id>d1e127e141a8080477f3b3becb792f138ca9ab65</id>
<content type='text'>
The runtime expects them to exist before it's launched.
The boot image / art files are created during the first
zygote launch.

Change-Id: I5ed0ad4854dc7785246344c8f6eaf54e560feb7d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The runtime expects them to exist before it's launched.
The boot image / art files are created during the first
zygote launch.

Change-Id: I5ed0ad4854dc7785246344c8f6eaf54e560feb7d
</pre>
</div>
</content>
</entry>
</feed>
