Details
Description
ObjArrayKlass::oop_oop_iterate_range conditionally calls cast_from_oop with a template parameter of oop* or narrowOop*. Casting an oop to either of those types seems pretty questionable, and is not actually necessary here. Removing that conditional cast would eliminate the only use of cast_from_oop<narrowOop*>().
Attachments
Issue Links
- relates to
-
JDK-8237637 Remove dubious type conversions from oop
-
- Resolved
-