RFR[T]: 8232881: Remove unnecessary InstanceKlass::casts

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Wed Oct 23 15:25:57 UTC 2019


http://cr.openjdk.java.net/~redestad/8232881/open.00/src/hotspot/share/classfile/classListParser.cpp.udiff.html

  void ClassListParser::print_actual_interfaces(InstanceKlass *ik) {


While here, can you move the star over to InstanceKlass*?

Looks good and trivial.  Thanks for finding the InstanceKlass::casts 
that we missed.

Coleen

On 10/23/19 10:49 AM, Claes Redestad wrote:
> Hi,
>
> please review this patch to remove various unnecessary
> InstanceKlass::casts
>
> Bug:    https://bugs.openjdk.java.net/browse/JDK-8232881
> Webrev: http://cr.openjdk.java.net/~redestad/8232881/open.00/
>
> Testing: tier1
>
> Thanks!
>
> /Claes



More information about the hotspot-runtime-dev mailing list