Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
堆喷射,堆溢出,堆溢出有什么区别?
这些术语可以用缓冲区喷射、缓冲区溢出、缓冲区溢出代替吗?
它们也有相同的定义吗?
“堆”通常是指动态分配的内存。“缓冲区”可能位于堆上,但也可能是静态的或驻留在堆栈上。