comparison 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
comparison
equal deleted inserted replaced
10937:87d9b5518065 10939:f22cbff51c12
302 FOR_ALL_ALIVE_NMETHODS(nm) { 302 FOR_ALL_ALIVE_NMETHODS(nm) {
303 f(nm); 303 f(nm);
304 } 304 }
305 } 305 }
306 306
307 #ifdef GRAAL
308 void CodeCache::alive_nmethods_do_graal_methods(OopClosure* closure) {
309 assert_locked_or_safepoint(CodeCache_lock);
310 FOR_ALL_ALIVE_NMETHODS(nm) {
311 nm->mark_graal_reference(closure);
312 }
313 }
314 #endif
315
316 int CodeCache::alignment_unit() { 307 int CodeCache::alignment_unit() {
317 return (int)_heap->alignment_unit(); 308 return (int)_heap->alignment_unit();
318 } 309 }
319 310
320 311