Mercurial > hg > graal-compiler
diff src/share/vm/code/codeCache.cpp @ 10939:f22cbff51c12
Remove forced addition of Graal's oop during weak root processing (creates race condition)
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Fri, 02 Aug 2013 13:31:31 +0200 |
parents | 836a62f43af9 |
children | cefad50507d8 |
line wrap: on
line diff
--- a/src/share/vm/code/codeCache.cpp Fri Aug 02 11:22:23 2013 +0200 +++ b/src/share/vm/code/codeCache.cpp Fri Aug 02 13:31:31 2013 +0200 @@ -304,15 +304,6 @@ } } -#ifdef GRAAL -void CodeCache::alive_nmethods_do_graal_methods(OopClosure* closure) { - assert_locked_or_safepoint(CodeCache_lock); - FOR_ALL_ALIVE_NMETHODS(nm) { - nm->mark_graal_reference(closure); - } -} -#endif - int CodeCache::alignment_unit() { return (int)_heap->alignment_unit(); }