Mercurial > hg > truffle
comparison src/share/vm/oops/instanceKlass.cpp @ 939:9eebd3ac74cf
6845368: large objects cause a crash or unexpected exception
Reviewed-by: jmasa, iveresov
author | jcoomes |
---|---|
date | Thu, 13 Aug 2009 16:22:45 -0700 |
parents | b37c246bf7ce |
children | 682194ca1d8d |
comparison
equal
deleted
inserted
replaced
938:b37c246bf7ce | 939:9eebd3ac74cf |
---|---|
2221 | 2221 |
2222 // Check that the map is (2,extra) | 2222 // Check that the map is (2,extra) |
2223 int offset = java_lang_Class::klass_offset; | 2223 int offset = java_lang_Class::klass_offset; |
2224 | 2224 |
2225 OopMapBlock* map = ik->start_of_nonstatic_oop_maps(); | 2225 OopMapBlock* map = ik->start_of_nonstatic_oop_maps(); |
2226 guarantee(map->offset() == offset && map->count() == extra, "sanity"); | 2226 guarantee(map->offset() == offset && map->count() == (unsigned int) extra, |
2227 "sanity"); | |
2227 } | 2228 } |
2228 } | 2229 } |
2229 | 2230 |
2230 #endif // ndef PRODUCT | 2231 #endif // ndef PRODUCT |
2231 | 2232 |