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.
27 lines
818 B
27 lines
818 B
---
|
|
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
|
|
|
|
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:
|
|
- [DEADLOCK](all-issue-types.md#deadlock)
|
|
- [STARVATION](all-issue-types.md#starvation)
|
|
- [STRICT_MODE_VIOLATION](all-issue-types.md#strict_mode_violation)
|