Mercurial > hg > graal-compiler
comparison src/share/vm/code/codeCache.cpp @ 10031:ebb32c4589f3
Force GC to process graal_installed_code references during marking (GRAAL-257)
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Tue, 11 Jun 2013 19:59:52 +0200 |
parents | 9deda4d8e126 |
children | 836a62f43af9 |
comparison
equal
deleted
inserted
replaced
9998:e85afceb39e7 | 10031:ebb32c4589f3 |
---|---|
301 FOR_ALL_ALIVE_NMETHODS(nm) { | 301 FOR_ALL_ALIVE_NMETHODS(nm) { |
302 f(nm); | 302 f(nm); |
303 } | 303 } |
304 } | 304 } |
305 | 305 |
306 #ifdef GRAAL | |
307 void CodeCache::alive_nmethods_do_graal_methods(OopClosure* closure) { | |
308 assert_locked_or_safepoint(CodeCache_lock); | |
309 FOR_ALL_ALIVE_NMETHODS(nm) { | |
310 nm->mark_graal_reference(closure); | |
311 } | |
312 } | |
313 #endif | |
314 | |
306 int CodeCache::alignment_unit() { | 315 int CodeCache::alignment_unit() { |
307 return (int)_heap->alignment_unit(); | 316 return (int)_heap->alignment_unit(); |
308 } | 317 } |
309 | 318 |
310 | 319 |