add java object size for dalvik