On Sun, Jul 1, 2012 at 10:27 PM, M <xuetao....@gmail.com> wrote:
> so, how to correlate them? Any mapping files or mechanism inside the
> device?

Machiry's answer is right.  The point is that in Java, the notion of a
"system call" is heavily obscured.  You could be holding onto a
bufferedreader, writer, etc..., one of hundreds of objects
implementing a high level interface.  If you have an instance of this,
how do you know what it really is: a socket, a file handle, etc?  The
answer to that question, is that you *can't* (easilly) look at an
objects type and map it to a sytem call, you need a form of control
flow analysis to do that, and even then, the mapping between the Java
API and the low level POSIX interface is very hazy, because it's just
this monstorously huge ugly API.

kris

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to