also incredibly late to reply to this again, but I noticed that for some reason a gradle plugin you're using is forcing the use of the serial gc, which I don't think is the best idea. it should honestly just be left at the default of g1, or if anything, set to zgc or shenandoah.