dynamic memory allocation

Avoiding Heap Contention Among Threads

Avoiding Heap Contention Among Threads (PDF 256KB)

Abstract

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.

  • Desarrolladores
  • Microsoft Windows* 8
  • Servidor
  • Intermedio
  • Intel® Parallel Studio
  • Intel® Parallel Amplifier
  • synchronization
  • heap contention
  • dynamic memory allocation
  • lock contention
  • stack allocation
  • Computación en paralelo
  • Subprocesos
  • Suscribirse a dynamic memory allocation