RFR 8176705: Remove static functions in InstanceKlass

RFR 8176705: Remove static functions in InstanceKlass

Hi,

Please review this JDK-10 cleanup to convert certain static methods to
instance methods in class InstanceKlass. These methods can now be
instance methods as a result of the fix for JDK-8155672
<https://bugs.openjdk.java.net/browse/JDK-8155672>.

The change was tested with the JCK lang and vm tests, the JTreg hotspot,
java/io, java/lang, java/util and other tests, the RBT tier2 -tier5
tests, the colocated and non-colocated NSK tests, and with JPRT.