Methods Summary |
---|
static void | forceBinderGc()
forceGc("Binder");
|
public static void | forceGc(java.lang.String reason)
EventLog.writeEvent(2741, reason);
Runtime.getRuntime().gc();
|
public static final native android.os.IBinder | getContextObject()Return the global "context object" of the system. This is usually
an implementation of IServiceManager, which you can use to find
other services.
|
public static long | getLastGcTime()Return the system time (as reported by {@link SystemClock#uptimeMillis
SystemClock.uptimeMillis()}) that the last garbage collection occurred
in this process. This is not for general application use, and the
meaning of "when a garbage collection occurred" will change as the
garbage collector evolves.
return mLastGcTime;
|
static final native void | handleGc()
|
public static final native void | joinThreadPool()Add the calling thread to the IPC thread pool. This function does
not return until the current process is exiting.
|