private static int skipClassDueToSunJVMBug(Class clazz) {
        for (int i = 0; i < sunProblematicClasses.length; ++i) {
            Class sunPbClass = sunProblematicClasses[i];
            if (clazz == sunPbClass) {
                return ((Integer) sunProblematicClassesSizes.get(clazz.getName())).intValue();
            }
        }
        return 0;
    }
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5012949 Implementation note: we can compare classes with ==
since they will always be loaded from the same ClassLoader (they are "low" in the hierarchy)
shared/common/src/main/java/com/alibaba/otter/shared/common/utils/sizeof/ObjectProfiler.java