Status Update
Comments
cc...@google.com <cc...@google.com> #3
Not sure why that behavior turns on with 21, I think it should be 24, since that's N. Will fix.
From logcat, threads in process are below - no obvious JIT thread.
01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30260, name:'.benchmark.test' 01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30265, name:'Signal Catcher' 01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30266, name:'JDWP' 01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30267, name:'ReferenceQueueD' 01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30268, name:'FinalizerDaemon' 01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30269, name:'FinalizerWatchd' 01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30270, name:'HeapTaskDaemon' 01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30271, name:'Binder_1' 01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30272, name:'Binder_2' 01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30273, name:'roidJUnitRunner' 01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30274, name:'Instrumentation'
cc...@google.com <cc...@google.com> #4
(whoops, forgot markdown)
01-29 03:58:02.285 30260 30273 D Benchmark: NOTE: Couldn't JIT thread, threads found:
01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30260, name:'.benchmark.test'
01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30265, name:'Signal Catcher'
01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30266, name:'JDWP'
01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30267, name:'ReferenceQueueD'
01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30268, name:'FinalizerDaemon'
01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30269, name:'FinalizerWatchd'
01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30270, name:'HeapTaskDaemon'
01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30271, name:'Binder_1'
01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30272, name:'Binder_2'
01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30273, name:'roidJUnitRunner'
01-29 03:58:02.285 30260 30273 D Benchmark: tid: 30274, name:'Instrumentation'
ap...@google.com <ap...@google.com> #5
Branch: androidx-master-dev
commit b5538a603e88609a7d6290daea884559992d52e8
Author: Chris Craik <ccraik@google.com>
Date: Wed Jul 29 10:54:07 2020
Fix JIT thread detection to start on N
Fixes: 161847393
Relnote: """Fixes library printing logcat warnings about not finding
JIT thread on platform versions where it is not present."""
Test: ./gradlew bench:b-c:cC # note, relying on postsubmit for lower api levels
Change-Id: I9cc637ed3d5ec50169f4bad795d47c4f2a03befa
M benchmark/common/src/androidTest/java/androidx/benchmark/BenchmarkStateTest.kt
M benchmark/common/src/main/java/androidx/benchmark/ThreadPriority.kt
Description