Loading core/java/com/android/internal/os/Zygote.java +9 −6 Original line number Diff line number Diff line Loading @@ -254,6 +254,9 @@ public final class Zygote { Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, "PostFork"); } // Set the Java Language thread priority to the default value for new apps. Thread.currentThread().setPriority(Thread.NORM_PRIORITY); ZygoteHooks.postForkCommon(); return pid; } Loading Loading @@ -296,6 +299,9 @@ public final class Zygote { // Note that this event ends at the end of handleChildProc. Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, "PostFork"); // Set the Java Language thread priority to the default value for new apps. Thread.currentThread().setPriority(Thread.NORM_PRIORITY); /* * This is called here (instead of after the fork but before the specialize) to maintain * consistancy with the code paths for forkAndSpecialize. Loading Loading @@ -350,6 +356,9 @@ public final class Zygote { Trace.setTracingEnabled(true, runtimeFlags); } // Set the Java Language thread priority to the default value for new apps. Thread.currentThread().setPriority(Thread.NORM_PRIORITY); ZygoteHooks.postForkCommon(); return pid; } Loading Loading @@ -640,12 +649,6 @@ public final class Zygote { disableExecuteOnly(args.mTargetSdkVersion); // End of the postFork event. Trace.traceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER); // Set the Java Language thread priority to the default value for new apps. Thread.currentThread().setPriority(Thread.NORM_PRIORITY); return ZygoteInit.zygoteInit(args.mTargetSdkVersion, args.mRemainingArgs, null /* classLoader */); Loading core/java/com/android/internal/os/ZygoteConnection.java +0 −3 Original line number Diff line number Diff line Loading @@ -472,9 +472,6 @@ class ZygoteConnection { Zygote.setAppProcessName(parsedArgs, TAG); // Set the Java Language thread priority to the default value for new apps. Thread.currentThread().setPriority(Thread.NORM_PRIORITY); // End of the postFork event. Trace.traceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER); if (parsedArgs.mInvokeWith != null) { Loading core/java/com/android/internal/os/ZygoteInit.java +0 −3 Original line number Diff line number Diff line Loading @@ -507,9 +507,6 @@ public class ZygoteInit { } } // Set the Java Language thread priority to the default value for the system server. Thread.currentThread().setPriority(Thread.NORM_PRIORITY); if (parsedArgs.mInvokeWith != null) { String[] args = parsedArgs.mRemainingArgs; // If we have a non-null system server class path, we'll have to duplicate the Loading Loading
core/java/com/android/internal/os/Zygote.java +9 −6 Original line number Diff line number Diff line Loading @@ -254,6 +254,9 @@ public final class Zygote { Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, "PostFork"); } // Set the Java Language thread priority to the default value for new apps. Thread.currentThread().setPriority(Thread.NORM_PRIORITY); ZygoteHooks.postForkCommon(); return pid; } Loading Loading @@ -296,6 +299,9 @@ public final class Zygote { // Note that this event ends at the end of handleChildProc. Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, "PostFork"); // Set the Java Language thread priority to the default value for new apps. Thread.currentThread().setPriority(Thread.NORM_PRIORITY); /* * This is called here (instead of after the fork but before the specialize) to maintain * consistancy with the code paths for forkAndSpecialize. Loading Loading @@ -350,6 +356,9 @@ public final class Zygote { Trace.setTracingEnabled(true, runtimeFlags); } // Set the Java Language thread priority to the default value for new apps. Thread.currentThread().setPriority(Thread.NORM_PRIORITY); ZygoteHooks.postForkCommon(); return pid; } Loading Loading @@ -640,12 +649,6 @@ public final class Zygote { disableExecuteOnly(args.mTargetSdkVersion); // End of the postFork event. Trace.traceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER); // Set the Java Language thread priority to the default value for new apps. Thread.currentThread().setPriority(Thread.NORM_PRIORITY); return ZygoteInit.zygoteInit(args.mTargetSdkVersion, args.mRemainingArgs, null /* classLoader */); Loading
core/java/com/android/internal/os/ZygoteConnection.java +0 −3 Original line number Diff line number Diff line Loading @@ -472,9 +472,6 @@ class ZygoteConnection { Zygote.setAppProcessName(parsedArgs, TAG); // Set the Java Language thread priority to the default value for new apps. Thread.currentThread().setPriority(Thread.NORM_PRIORITY); // End of the postFork event. Trace.traceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER); if (parsedArgs.mInvokeWith != null) { Loading
core/java/com/android/internal/os/ZygoteInit.java +0 −3 Original line number Diff line number Diff line Loading @@ -507,9 +507,6 @@ public class ZygoteInit { } } // Set the Java Language thread priority to the default value for the system server. Thread.currentThread().setPriority(Thread.NORM_PRIORITY); if (parsedArgs.mInvokeWith != null) { String[] args = parsedArgs.mRemainingArgs; // If we have a non-null system server class path, we'll have to duplicate the Loading