A test verifying the computation of hashcode across with different command line switches is needed for different value classes.
Using several different classes could record their hashcodes in a temporary file run with -Xint and then separate runs with different JIT levels can verify the same hashcodes. The object should cover the range of primitive values to check against gaps in the computation.
Using several different classes could record their hashcodes in a temporary file run with -Xint and then separate runs with different JIT levels can verify the same hashcodes. The object should cover the range of primitive values to check against gaps in the computation.