6792421: assert(_bitMap->isMarked(addr+size-1),inconsistent Printezis mark)

The CMS concurrent precleaning and concurrent marking phases should work around classes that are undergoing redefinition.

Reviewed-by: ysr, tonyp
This commit is contained in:
Jon Masamitsu 2009-01-31 00:15:00 -08:00
parent d981bd442b
commit 39b23ff0a0
7 changed files with 64 additions and 11 deletions

View file

@ -90,9 +90,11 @@ constantPoolOop oopFactory::new_constantPool(int length,
}
constantPoolCacheOop oopFactory::new_constantPoolCache(int length, TRAPS) {
constantPoolCacheOop oopFactory::new_constantPoolCache(int length,
bool is_conc_safe,
TRAPS) {
constantPoolCacheKlass* ck = constantPoolCacheKlass::cast(Universe::constantPoolCacheKlassObj());
return ck->allocate(length, CHECK_NULL);
return ck->allocate(length, is_conc_safe, CHECK_NULL);
}