heap contention

Avoiding Heap Contention Among Threads

Avoiding Heap Contention Among Threads (PDF 256KB)


Allocating memory from the system heap can be an expensive operation due to a lock used by system runtime libraries to synchronize access to the heap. Contention on this lock can limit the performance benefits from multithreading. To solve this problem, apply an allocation strategy that avoids using shared locks, or use third party heap managers.

  • Développeurs
  • Microsoft Windows* 8.x
  • Serveur
  • Intermédiaire
  • Intel® VTune™ Amplifier
  • Intel® Parallel Studio XE Composer Edition
  • synchronization
  • heap contention
  • dynamic memory allocation
  • lock contention
  • stack allocation
  • Informatique parallèle
  • Parallélisation
  • S’abonner à heap contention