JRuby on CRaC Part 1: Let’s Get CRaCking!

1 · Charles Oliver Nutter · Sept. 11, 2024, 7:33 p.m.
Summary
Hello friends! Today we start a series on improving JRuby startup time using the new OpenJDK Project CRaC (Coordinated Restore at Checkpoint)! If that sounds intriguing, read on! The Hardest Problem in JRuby JRuby is the most successful and widely-deployed alternative Ruby implementation, but is frequently overlooked as an option due to several misconceptions: “JRuby won’t work for my app because we use C extensions” Most popular C extensions have JRuby equivalents (using pure-Ruby or our simila...