On Tue, 1 Dec 2020 05:30:01 GMT, Yumin Qi <minqi at openjdk.org> wrote: >> The calloc query has not been addressed. > > malloc/calloc return void* so need this cast. calloc zero-fills the buffer. See https://en.cppreference.com/w/c/memory/calloc ------------- PR: https://git.openjdk.java.net/jdk/pull/1246