In the KlassInfoTable, there is a _size field which is initialized to the constant _num_buckets and never updated (except when clearing the table).
This prevents GCC from optimizing the code and could be optimized by removing the constant altogether and using the _num_buckets variable directly.
This prevents GCC from optimizing the code and could be optimized by removing the constant altogether and using the _num_buckets variable directly.