Package com.facebook.presto.jdbc.internal.jol.info

Examples of com.facebook.presto.jdbc.internal.jol.info.FieldLayout.offset()


        int instanceSize;
        if (result.isEmpty()) {
            instanceSize = VMSupport.align(model.headerSize());
        } else {
            FieldLayout f = result.last();
            instanceSize = VMSupport.align(f.offset() + f.size());
        }
        return new ClassLayout(data, result, model.headerSize(), instanceSize, true);
    }

    @Override
View Full Code Here


        if (result.isEmpty()) {
            return new ClassLayout(data, result, model.headerSize(), model.headerSize(), false);
        } else {
            FieldLayout f = result.last();
            return new ClassLayout(data, result, model.headerSize(), f.offset() + f.size(), false);
        }
    }

    @Override
    public String toString() {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.