Java Code Examples for sun.jvm.hotspot.oops.OopUtilities

Following code examples demonstrate how to use sun.jvm.hotspot.oops.OopUtilitiesfrom java. These examples are extracted from various highly rated open source projects. You can directly use these code snippets or view their entire linked source code. These snippets are extracted to provide contextual information about how to use this class in the real world. These samples also let you understand some good practices on how to use sun.jvm.hotspot.oops.OopUtilitiesand various code implementation of this class.

    public ReferenceType reflectedType() {
        if (reflectedType == null) {
            Klass k = OopUtilities.classOopToKlass(ref());
            reflectedType = vm.referenceType(k);
        }
        return reflectedType;
    } 


    StringReferenceImpl(VirtualMachine aVm, sun.jvm.hotspot.oops.Instance oRef) {
        super(aVm,oRef);
        value = OopUtilities.stringOopToString(oRef);
    } 

Advertisement
Javadoc
A utility class encapsulating useful oop operations
Advertisement