6845368: large objects cause a crash or unexpected exception

Reviewed-by: jmasa, iveresov
This commit is contained in:
John Coomes 2009-08-13 16:22:45 -07:00
parent 662adda5e6
commit e7c70c499b
10 changed files with 65640 additions and 65 deletions

View file

@ -2223,7 +2223,8 @@ void instanceKlass::verify_class_klass_nonstatic_oop_maps(klassOop k) {
int offset = java_lang_Class::klass_offset;
OopMapBlock* map = ik->start_of_nonstatic_oop_maps();
guarantee(map->offset() == offset && map->count() == extra, "sanity");
guarantee(map->offset() == offset && map->count() == (unsigned int) extra,
"sanity");
}
}