
Compiling StoatFlow to a GraalVM native image: G1, PGO, and why JNI beats FFM under AOT
Native image is viable for a throughput-first stream processor — but only with Oracle G1 + PGO. The wrong turn (we blamed FFM; it was the GC) and the reversal (FFM is faster on the JVM, slower under AOT) are the most interesting parts.