Mercurial > hg > truffle
comparison src/share/vm/code/codeCache.cpp @ 11198:1e6d5dec4a4e
Merge.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 05 Aug 2013 13:20:06 +0200 |
parents | f22cbff51c12 |
children | cefad50507d8 |
comparison
equal
deleted
inserted
replaced
11197:3479ab380552 | 11198:1e6d5dec4a4e |
---|---|
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 |