First contact with Fibers

Christian Stein sormuras at
Tue Aug 13 07:39:26 UTC 2019

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
 - [2] Threads via `Executors.newFixedThreadPool(1000);`
 - [3] Fibers via ``

Also, running with a lot of fiber instances, I encountered a JVM error that

# A fatal error has been detected by the Java Runtime Environment:
# Internal Error (continuation.cpp:4110), pid=45199, tid=45234
# guarantee(false) failed: unreachable
# JRE version: OpenJDK Runtime Environment (14.0+2) (build 14-loom+2-4)
# Java VM: OpenJDK 64-Bit Server VM (14-loom+2-4, mixed mode, sharing,
tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V [] ContMirror::allocate_stacks_in_java(int, int,



More information about the loom-dev mailing list