jd-opensource / jd-opensource/JDHybrid

JDNetworkAsyncOperation会和YYCache报线程优先级反转警告

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
238
Forks
38
PR merge metrics
No merged PRs in 30d

Description

这个在app启动的时候出现警告
Thread Performance Checker: Thread running at User-initiated quality-of-service class waiting on a thread without a QoS class specified. Investigate ways to avoid priority inversions
PID: 26899, TID: 14021030
Backtrace
=================================================================
3 YYCache 0x000000010c50b312 -[YYDiskCache objectForKey:] + 98
4 YYCache 0x000000010c509585 -[YYCache objectForKey:] + 117
5 MyyShopDev 0x0000000108e5239c $s10MyyShopDev12WebViewCacheC6object6forKeySo8NSCoding_pSS_tF + 188
6 MyyShopDev 0x0000000108e524db $s10MyyShopDev12WebViewCacheC6object6forKeySo8NSCoding_pSS_tFTo + 75
7 JDHybrid 0x000000010c0c5320 -[JDURLCache getCachedResponseWithURL:] + 96
8 JDHybrid 0x000000010c0b8248 -[JDNetworkAsyncOperation start] + 728
9 Foundation 0x00007ff800e48744 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 17

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.