3 ms·
> It mentions that Firefox writes wayyyyy too much in the temp folder. > > the amount of calls to VirtualProtect is currently very high Calling VirtualProtect
by cesarb 4y ago
> It mentions that Firefox writes wayyyyy too much in the temp folder.
> > the amount of calls to VirtualProtect is currently very high
Calling VirtualProtect is not writing to the temp folder. The VirtualProtect call is to change the permissions of the in-memory pages. It should be an inexpensive system call (other than the cost of TLB flushes and/or shootdowns).