Thread overview | |||||
---|---|---|---|---|---|
|
April 24, 2020 Allocate more space for fiber if gardpage hit? | ||||
---|---|---|---|---|
| ||||
Is it possible on windows to dynamically size fibers? |
April 24, 2020 Re: Allocate more space for fiber if gardpage hit? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kaitlyn Emmons | On Friday, 24 April 2020 at 04:50:12 UTC, Kaitlyn Emmons wrote:
> Is it possible on windows to dynamically size fibers?
follow up question, if i allocate way more space for a bunch of fibers then they need, will the space just get reserved? EG if i have a fiber that never goes beyond 4 pages but i create it with 32... will the later pages ever get assigned physical memory?
|
April 25, 2020 Re: Allocate more space for fiber if gardpage hit? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kaitlyn Emmons | On Friday, 24 April 2020 at 04:58:52 UTC, Kaitlyn Emmons wrote: > On Friday, 24 April 2020 at 04:50:12 UTC, Kaitlyn Emmons wrote: >> Is it possible on windows to dynamically size fibers? > > follow up question, if i allocate way more space for a bunch of fibers then they need, will the space just get reserved? EG if i have a fiber that never goes beyond 4 pages but i create it with 32... will the later pages ever get assigned physical memory? It looks like it will allocate all. https://github.com/dlang/druntime/blob/e71d88ca4eff9fafeba4438301158b0c0fafa284/src/core/thread/fiber.d#L974 |
Copyright © 1999-2021 by the D Language Foundation