Skip to content

Instantly share code, notes, and snippets.

@hkskoglund
Created September 24, 2018 07:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hkskoglund/970e5612f7a98bbfb5893651292374bf to your computer and use it in GitHub Desktop.
Save hkskoglund/970e5612f7a98bbfb5893651292374bf to your computer and use it in GitHub Desktop.
DJI GO v4.3.0 Android - Explicit concurrent copying GC - is it necessary?
09-24 09:39:59.085 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:39:59.980 11279 11422 I zygote : Explicit concurrent copying GC freed 4979(320KB) AllocSpace objects, 1(20KB) LOS objects, 50% free, 17MB/35MB, paused 1.854ms total 277.349ms
09-24 09:40:00.847 11279 11348 E getNetworkObject: network type:1
09-24 09:40:00.853 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:01.196 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:02.706 11279 11422 I zygote : Explicit concurrent copying GC freed 6591(655KB) AllocSpace objects, 1(20KB) LOS objects, 49% free, 17MB/35MB, paused 2.517ms total 276.893ms
09-24 09:40:02.932 11279 11348 E getNetworkObject: network type:1
09-24 09:40:02.934 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:03.198 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:04.945 11279 11348 E getNetworkObject: network type:1
09-24 09:40:04.950 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:05.201 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:05.473 11279 11422 I zygote : Explicit concurrent copying GC freed 5034(320KB) AllocSpace objects, 1(20KB) LOS objects, 49% free, 18MB/36MB, paused 2.127ms total 274.535ms
09-24 09:40:06.934 11279 11348 E getNetworkObject: network type:1
09-24 09:40:06.938 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:07.203 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:08.283 11279 11422 I zygote : Explicit concurrent copying GC freed 6339(623KB) AllocSpace objects, 1(20KB) LOS objects, 49% free, 18MB/36MB, paused 1.546ms total 273.264ms
09-24 09:40:08.946 11279 11348 E getNetworkObject: network type:1
09-24 09:40:08.950 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:09.204 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:10.932 11279 11348 E getNetworkObject: network type:1
09-24 09:40:10.936 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:11.146 11279 11422 I zygote : Explicit concurrent copying GC freed 6566(622KB) AllocSpace objects, 1(20KB) LOS objects, 49% free, 18MB/36MB, paused 1.881ms total 279.281ms
09-24 09:40:11.359 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:12.944 11279 11348 E getNetworkObject: network type:1
09-24 09:40:12.947 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:13.363 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:13.975 11279 11422 I zygote : Explicit concurrent copying GC freed 5059(320KB) AllocSpace objects, 1(20KB) LOS objects, 50% free, 18MB/36MB, paused 1.825ms total 294.352ms
09-24 09:40:14.934 11279 11348 E getNetworkObject: network type:1
09-24 09:40:14.937 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:15.365 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:16.855 11279 11422 I zygote : Explicit concurrent copying GC freed 6567(607KB) AllocSpace objects, 1(20KB) LOS objects, 50% free, 18MB/36MB, paused 1.859ms total 281.553ms
09-24 09:40:17.082 11279 11348 E getNetworkObject: network type:1
09-24 09:40:17.084 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:17.366 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:19.085 11279 11348 E getNetworkObject: network type:1
09-24 09:40:19.089 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:19.368 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:19.688 11279 11422 I zygote : Explicit concurrent copying GC freed 10061(623KB) AllocSpace objects, 1(20KB) LOS objects, 50% free, 17MB/35MB, paused 1.852ms total 275.434ms
09-24 09:40:21.094 11279 11348 E getNetworkObject: network type:1
09-24 09:40:21.099 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:21.369 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:22.545 11279 11422 I zygote : Explicit concurrent copying GC freed 6412(626KB) AllocSpace objects, 1(20KB) LOS objects, 50% free, 18MB/36MB, paused 1.860ms total 280.210ms
09-24 09:40:23.082 11279 11348 E getNetworkObject: network type:1
09-24 09:40:23.084 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:23.371 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:25.082 11279 11348 E getNetworkObject: network type:1
09-24 09:40:25.085 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:25.373 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:25.378 11279 11422 I zygote : Explicit concurrent copying GC freed 5243(318KB) AllocSpace objects, 1(20KB) LOS objects, 50% free, 18MB/36MB, paused 1.518ms total 280.996ms
09-24 09:40:27.095 11279 11348 E getNetworkObject: network type:1
09-24 09:40:27.099 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:27.376 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:28.268 11279 11422 I zygote : Explicit concurrent copying GC freed 6373(640KB) AllocSpace objects, 1(20KB) LOS objects, 50% free, 17MB/35MB, paused 2.307ms total 279.154ms
09-24 09:40:29.082 11279 11348 E getNetworkObject: network type:1
09-24 09:40:29.084 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:29.482 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:31.071 11279 11422 I zygote : Explicit concurrent copying GC freed 6537(607KB) AllocSpace objects, 1(20KB) LOS objects, 50% free, 18MB/36MB, paused 1.626ms total 276.201ms
09-24 09:40:31.303 11279 11348 E getNetworkObject: network type:1
09-24 09:40:31.305 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:31.484 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:33.305 11279 11348 E getNetworkObject: network type:1
09-24 09:40:33.308 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:33.486 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:33.914 11279 11422 I zygote : Explicit concurrent copying GC freed 5076(336KB) AllocSpace objects, 1(20KB) LOS objects, 50% free, 17MB/35MB, paused 1.860ms total 288.934ms
09-24 09:40:35.302 11279 11348 E getNetworkObject: network type:1
09-24 09:40:35.305 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:35.488 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:36.754 11279 11422 I zygote : Explicit concurrent copying GC freed 6326(623KB) AllocSpace objects, 1(20KB) LOS objects, 50% free, 18MB/36MB, paused 1.865ms total 280.823ms
09-24 09:40:37.305 11279 11348 E getNetworkObject: network type:1
09-24 09:40:37.311 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:37.490 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:39.302 11279 11348 E getNetworkObject: network type:1
09-24 09:40:39.304 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:39.492 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:39.550 11279 11422 I zygote : Explicit concurrent copying GC freed 5162(334KB) AllocSpace objects, 1(20KB) LOS objects, 49% free, 18MB/36MB, paused 2.026ms total 281.328ms
09-24 09:40:41.302 11279 11348 E getNetworkObject: network type:1
09-24 09:40:41.304 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:41.495 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:42.282 11279 11422 I zygote : Explicit concurrent copying GC freed 6739(640KB) AllocSpace objects, 1(20KB) LOS objects, 50% free, 17MB/35MB, paused 1.940ms total 280.232ms
09-24 09:40:43.304 11279 11348 E getNetworkObject: network type:1
09-24 09:40:43.308 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:43.498 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:45.012 11279 11422 I zygote : Explicit concurrent copying GC freed 8959(430KB) AllocSpace objects, 1(20KB) LOS objects, 50% free, 18MB/36MB, paused 1.857ms total 276.619ms
09-24 09:40:45.303 11279 11348 E getNetworkObject: network type:1
09-24 09:40:45.306 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:45.499 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:47.302 11279 11348 E getNetworkObject: network type:1
09-24 09:40:47.307 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:47.501 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:47.749 11279 11422 I zygote : Explicit concurrent copying GC freed 10200(826KB) AllocSpace objects, 4(80KB) LOS objects, 50% free, 18MB/36MB, paused 2.236ms total 271.498ms
09-24 09:40:49.316 11279 11348 E getNetworkObject: network type:1
09-24 09:40:49.322 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:49.503 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:50.540 11279 11422 I zygote : Explicit concurrent copying GC freed 5090(325KB) AllocSpace objects, 1(20KB) LOS objects, 50% free, 18MB/36MB, paused 1.620ms total 274.693ms
09-24 09:40:51.304 11279 11348 E getNetworkObject: network type:1
09-24 09:40:51.309 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:51.505 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
09-24 09:40:53.312 11279 11348 E getNetworkObject: network type:1
09-24 09:40:53.315 11279 11348 E SwUdpService: SwUdpConnect ...result=1
09-24 09:40:53.371 11279 11422 I zygote : Explicit concurrent copying GC freed 6566(607KB) AllocSpace objects, 1(20KB) LOS objects, 49% free, 18MB/36MB, paused 2.145ms total 278.179ms
09-24 09:40:53.584 11279 11279 I DJILocationManager: Attempting to get last known location from default providers...
@hkskoglund
Copy link
Author

HeapTaskDaemon is running (probably explicit gc call in code?)

[henning@satellite ~]$ adb shell ps -w -k +TIME -T -u u0_a200 -l -O STIME -O RSS -O TCNT | tail
1 S 10200 15705 15784 759 0 23 -4 - 549137 0 ? 00:00:01 11:38:00 251116 125 Timer-0
1 S 10200 15705 15783 759 0 23 -4 - 549137 0 ? 00:00:01 11:38:00 251116 125 Timer-1
1 S 10200 15705 15715 759 0 15 4 - 549137 0 ? 00:00:01 11:37:59 251116 125 HeapTaskDaemon
1 S 10200 15705 15778 759 0 23 -4 - 549137 0 ? 00:00:01 11:38:00 251116 125 SwUdpService ti
1 S 10200 15705 15948 759 0 6 13 - 549137 0 ? 00:00:01 11:38:02 251116 125 DJIExecutor IO
1 S 10200 15724 15729 15705 2 29 -10 - 484793 0 ? 00:00:09 11:38:00 46504 5 dji.go.v4
1 S 10200 15724 15725 15705 4 29 -10 - 484793 0 ? 00:00:19 11:38:00 46504 5 dji.go.v4
1 S 10200 15724 15724 15705 5 29 -10 - 484793 0 ? 00:00:28 11:38:00 46504 5 dji.go.v4
1 S 10200 15705 15858 759 17 19 0 - 549137 0 ? 00:01:30 11:38:01 251116 125 Binder:15705_4
5 S 10200 15705 15705 759 23 19 0 - 549137 0 ? 00:02:02 11:37:59 251116 125 dji.go.v4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment