reduce-lock-overhead

Examine specified annotated sites for opportunities to reduce lock overhead in a Suitability report.

GUI Equivalent

Suitability > Lock Overhead

Syntax

--reduce-lock-overhead=<string>

Arguments

<string> is a comma-separated list of annotated sites (no spaces).

Default

No default argument

Actions Modified

report=suitability

Usage

Lock overhead is the time spent creating, destroying, acquiring, and releasing locks (as opposed to lock contention, which is the time spent waiting for a lock held by another task). Think of lock overhead as the cost of lock operations, assuming the lock is always available.

Usage of this option simulates parallel execution with the assumption that lock overhead is zero for a specified site.

Example

Generate a Suitability report. Examine the annotated sites myAnnotatedSiteJ and myAnnotatedSiteX for opportunities to reduce lock overhead. Write the report to stdout.

$ advixe-cl --report=suitability --project-dir=./advi --reduce-lock-overhead=myAnnotatedSiteJ,myAnnotatedSiteX
For more complete information about compiler optimizations, see our Optimization Notice.