Configuration.invocationBatchingConfiguration.enabled is "immutable" as all the fileds are final.
Even without being I'd still expect the hotspot to inline this call, if it happens frequently. Do you think this optimisations are worth doing without profiling first?