8171373: Reduce copying during initialization of ModuleHashes

Reviewed-by: alanb, mchung, chegar
3 files changed