8146801: Allocating short arrays of non-constant size is slow

Reviewed-by: kvn, twisti, vlivanov
17 files changed