Hi liuyq, bhoj~
I have also changed the .jack-settings as the following: # Server settings SERVER_HOST=127.0.0.1 SERVER_PORT_SERVICE=8*2*76 SERVER_PORT_ADMIN=8*2*77
I can see that the two jack server co-exists: minseong.kim@hackbox.linaro.org:~/aosp_uclang/aosp_master$ ./prebuilts/sdk/tools/jack-admin list-server yongqin+ 2379 java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /home/yongqin.liu/.jack-server/launcher.jar minseon+ 22778 java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /home/minseong.kim/.jack-server/launcher.jar
I will use the numbers.
This is a great solution to the problem we are having regarding the jack-server.
Thanks liuyq😁
cheers, Min
On 30 October 2016 at 22:49, YongQin Liu yongqin.liu@linaro.org wrote:
HI, MInseong, Vishal
We all often use hackbox to build android, and the jack-server seems a bottleneck for us.
I tried to update SERVER_PORT_SERVICE and SERVER_PORT_ADMIN in ~/.jack-settings as following:
SERVER_PORT_SERVICE=8176 SERVER_PORT_ADMIN=8177
And I found I could start the jack-server under my account, and no need to kill the jack-server under minseon.
yongqin.liu@hackbox.linaro.org:~/nougat$ ps -ef|grep com.android.jack.launcher.ServerLauncher yongqin+ 2379 1 99 13:23 pts/4 00:19:27 java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /home/yongqin.liu/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher yongqin+ 6804 15997 0 13:41 pts/16 00:00:00 grep --color=auto com.android.jack.launcher.ServerLauncher minseon+ 13453 1 15 Oct29 ? 02:58:18 java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /home/minseong.kim/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher yongqin.liu@hackbox.linaro.org:~/nougat$
I will use these setting for my future android compilation, till I found any problem about it.
You could try to update it as well((or use the default) ) to see if it helps your android compilation. and could co-exist with my jack-server instance.
-- Best Regards, Yongqin Liu
#mailing list linaro-android@lists.linaro.org linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android