digitalmars.D.learn - Allocate more space for fiber if gardpage hit?
- Kaitlyn Emmons (1/1) Apr 23 2020 Is it possible on windows to dynamically size fibers?
- Kaitlyn Emmons (5/6) Apr 23 2020 follow up question, if i allocate way more space for a bunch of
- Crayo List (3/10) Apr 25 2020 It looks like it will allocate all.
Is it possible on windows to dynamically size fibers?
Apr 23 2020
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?
Apr 23 2020
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:It looks like it will allocate all. https://github.com/dlang/druntime/blob/e71d88ca4eff9fafeba4438301158b0c0fafa284/src/core/thread/fiber.d#L974Is 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?
Apr 25 2020