This repository is an exploration of the cost of JNI marshalling performance. Specifically the base costs of JNI communication and the cost of sending/receiving various sizes of integer arrays across the JNI boundary. A corresponding article was written on the findings called JNI Marshalling Performance: Single Round Trip currently hosted on Substack.