summaryrefslogtreecommitdiff
path: root/test/MultiDexModifiedSecondary/Second.java
diff options
context:
space:
mode:
authorEric Holk <eholk@google.com>2020-12-15 18:23:28 +0000
committerEric Holk <eholk@google.com>2021-01-14 21:40:56 +0000
commit4c176b9de6c430422395017910633bcb001b2e84 (patch)
tree7e2977cbda130db7f4f83e8eba9449f49e0e4397 /test/MultiDexModifiedSecondary/Second.java
parent5bb354fa440ae7c9ebe6994ceb45e6795c5d3363 (diff)
Revert^2 "[metrics] Add background reporting thread"
This adds a background thread that reports metrics every N seconds, where N is specified by the -Xmetrics-reporting-period command line option. Periodic reporting is disabled by default. This reverts commit 73366109eec37b75f77f24e6e52832047508b34f. The reason this was previously reverted was due to failures where JVMTI reported an unexpected thread at startup. This change fixes the issue by adding the metrics background reporting thread to the list of allowed threads in ti_thread.cc. Test: test/run-test --host 2233-metrics-background-thread Test: adb shell stop && \ adb shell setprop dalvik.vm.extra-opts \ -Xmetrics-reporting-period=30\\\ -Xwrite-metrics-to-log && \ adb shell start && \ adb logcat # observe metrics in log Change-Id: I5eea4a4551de9cf4672a461c09521ef871063a91
Diffstat (limited to 'test/MultiDexModifiedSecondary/Second.java')
0 files changed, 0 insertions, 0 deletions