You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.0 KiB
31 lines
1.0 KiB
3 years ago
|
---
|
||
|
title: "Starvation"
|
||
|
description: "Detect various kinds of situations when no progress is being made because of concurrency errors."
|
||
|
---
|
||
|
|
||
|
Detect various kinds of situations when no progress is being made because of concurrency errors.
|
||
|
|
||
|
Activate with `--starvation`.
|
||
|
|
||
|
Supported languages:
|
||
|
- C/C++/ObjC: Yes
|
||
|
- Java: Yes
|
||
|
- C#/.Net: Yes
|
||
|
|
||
|
Detect several kinds of "starvation" problems:
|
||
|
- deadlocks
|
||
|
- violations of `@Lockless` annotations
|
||
|
- violations of [Android's "strict mode"](https://developer.android.com/reference/android/os/StrictMode)
|
||
|
- doing expensive operations on the Android UI thread
|
||
|
|
||
|
|
||
|
## List of Issue Types
|
||
|
|
||
|
The following issue types are reported by this checker:
|
||
|
- [ARBITRARY_CODE_EXECUTION_UNDER_LOCK](/docs/all-issue-types#arbitrary_code_execution_under_lock)
|
||
|
- [DEADLOCK](/docs/all-issue-types#deadlock)
|
||
|
- [IPC_ON_UI_THREAD](/docs/all-issue-types#ipc_on_ui_thread)
|
||
|
- [LOCKLESS_VIOLATION](/docs/all-issue-types#lockless_violation)
|
||
|
- [STARVATION](/docs/all-issue-types#starvation)
|
||
|
- [STRICT_MODE_VIOLATION](/docs/all-issue-types#strict_mode_violation)
|