-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 15
-
Component/s: hotspot
-
b11
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*>().
- relates to
-
JDK-8237637 Remove dubious type conversions from oop
-
- Resolved
-