new invokes VirtualAlloc



 DEVELOP > c-Plus-Plus > new invokes VirtualAlloc

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1

1

 
Topic: DEVELOP > c-Plus-Plus
User: "George2"
Date: 27 Jan 2008 09:00:39 PM
Object: new invokes VirtualAlloc
Hello everyone,
On Windows, when we allocate large amount of memory, new will call
VirtualAlloc directly, other than call HeapAlloc then through
HeapAlloc call VirtualAlloc indirectly?
Anyone to clarify this?
thanks in advance,
George
.

User: "spaglia"

Title: Re: new invokes VirtualAlloc 27 Jan 2008 09:09:32 PM
On Jan 27, 7:00=A0pm, George2 <george4acade...@yahoo.com> wrote:

Hello everyone,

On Windows, when we allocate large amount of memory, new will call
VirtualAlloc directly, other than call HeapAlloc then through
HeapAlloc call VirtualAlloc indirectly?

Anyone to clarify this?

thanks in advance,
George

It's hard to find a question in your post but I think what you are
asking about is implementation specific behavior. In other words,
compiler/library specific. Why do you need to know? Performance?
Failure?
.


  Page 1 of 1

1

 


Related Articles
 

NEWER

pg.1232     pg.940     pg.716     pg.544     pg.412     pg.311     pg.234     pg.175     pg.130     pg.96     pg.70     pg.50     pg.35     pg.24     pg.16     pg.10     pg.6     pg.3     pg.1

OLDER