RFR: 8293961: Unused ClassPathZipEntry::contents_do

Calvin Cheung ccheung at openjdk.org
Mon Sep 26 18:41:19 UTC 2022


On Fri, 23 Sep 2022 19:18:53 GMT, Matias Saavedra Silva <duke at openjdk.org> wrote:

> Removed unused function and ran tier1 to verify. Please review.

Hi Matias,

The cleanup looks good. I think more cleanup could be done in classLoader.cpp.
Can you check if the following could be removed?


typedef jzentry* (*GetNextEntry_t)(jzfile *zip, jint n);

static GetNextEntry_t    GetNextEntry       = NULL;

  GetNextEntry = CAST_TO_FN_PTR(GetNextEntry_t, dll_lookup(_zip_handle, "ZIP_GetNextEntry", path));

Thanks,
Calvin

-------------

PR: https://git.openjdk.org/jdk/pull/10413


More information about the hotspot-runtime-dev mailing list