This is a small cleanup that changes the code so that we only set the ArrayKlass::_dimension field once. This change is brought over from a cleanup to Valhalla. In Valhalla we add sub-classes to ObjArrayKlass, which added even more redundant settings of the _dimension field. I propose that we make this field constant and set it once.
- links to
-
Review(master)
openjdk/jdk/30109