News for hackers. Stuff that matters.
Re:Networking I/O with Virtual Threads – Under the hood by ec109685 on Thursday July 08, 2021 @12:06PM (#27773855)
Unless the stack is used, the memory of those stack threads is never resident, so it doesn’t create memory pressure.
Re:Networking I/O with Virtual Threads – Under the hood by DaiPlusPlus on Thursday July 08, 2021 @06:15PM (#27778276)
That depends on how the memory-pages of the stack-space of the threads is managed. That could still result in memory-fragmentation and disk-paging.
Re:Networking I/O with Virtual Threads – Under the hood by ec109685 on Friday July 09, 2021 @12:54AM (#27780575)
At least the last time I tested on Java, resident memory << virtual memory as idle thread count increased.