First contact with Fibers

Alan Bateman Alan.Bateman at
Tue Aug 13 10:03:44 UTC 2019

On 13/08/2019 08:39, Christian Stein wrote:
> Hi everybody,
> my first usage of Loom was to implement a simplistic JUnit 5 TestEngine.
> The source and some timing results are available at: [1]
> Can you please take a look and verify whether the implementation makes
> sense?
>   - [2] Threads via `Executors.newFixedThreadPool(1000);`
>   - [3] Fibers via ``
> Also, running with a lot of fiber instances, I encountered a JVM error that
> reads:
Thanks for the mail. The crash with the million fibers is probably an 
out of memory error. The code that allocates or grows the stack in the 
java heap fails which results in the execution of code that isn't mean 
to the called. Can you set the heap size for this run to see if it goes 
away with a large heap?


More information about the loom-dev mailing list