Mercurial > hg > truffle
diff src/share/vm/memory/oopFactory.cpp @ 542:9a25e0c45327
6792421: assert(_bitMap->isMarked(addr+size-1),inconsistent Printezis mark)
Summary: The CMS concurrent precleaning and concurrent marking phases should work around classes that are undergoing redefinition.
Reviewed-by: ysr, tonyp
author | jmasa |
---|---|
date | Sat, 31 Jan 2009 00:15:00 -0800 |
parents | 0af8b0718fc9 |
children | 0fbdb4381b99 |
line wrap: on
line diff
--- a/src/share/vm/memory/oopFactory.cpp Fri Jan 30 14:17:52 2009 -0800 +++ b/src/share/vm/memory/oopFactory.cpp Sat Jan 31 00:15:00 2009 -0800 @@ -90,9 +90,11 @@ } -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); }