Package sun.jvm.hotspot.oops

Examples of sun.jvm.hotspot.oops.ObjectHistogramElement


        public Object getValueAt(int row, int col) {
            return getValueForColumn(getElement(row), col);
        }

        public Object getValueForColumn(Object obj, int col) {
            ObjectHistogramElement el = (ObjectHistogramElement)obj;
            switch (col) {
            case 0:
                return new Long(el.getSize());
            case 1:
                return new Long(el.getCount());
            case 2:
                return el.getDescription();
            default:
                throw new RuntimeException("Index (" + col + ") out of bounds");
            }
        }
View Full Code Here

TOP

Related Classes of sun.jvm.hotspot.oops.ObjectHistogramElement

Copyright © 2018 www.massapicom. 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.