Found this in the Scala Times newsletter. It's a JVM option (still experimental) that uses a more compact object header representation. This seems to make a big performance difference in allocation-intensive applications. Daffodil is one of these, both at schema compile and runtime1, so we should try this.
https://www.reddit.com/r/scala/comments/1jptiv3/xxusecompactobjectheaders_is_your_new_turbo/?rdt=62508 This really makes me want to download Graal VM JDK 25.