Mercurial > hg > truffle
comparison src/share/vm/code/codeCache.hpp @ 2375:d673ef06fe96
7028374: race in fix_oop_relocations for scavengeable nmethods
Reviewed-by: kvn
author | never |
---|---|
date | Fri, 18 Mar 2011 15:52:42 -0700 |
parents | 1c0cf339481b |
children | 1d1603768966 527977d4f740 |
comparison
equal
deleted
inserted
replaced
2370:048f98400b8e | 2375:d673ef06fe96 |
---|---|
120 static int nof_nmethods() { return _number_of_nmethods; } | 120 static int nof_nmethods() { return _number_of_nmethods; } |
121 | 121 |
122 // GC support | 122 // GC support |
123 static void gc_epilogue(); | 123 static void gc_epilogue(); |
124 static void gc_prologue(); | 124 static void gc_prologue(); |
125 static void verify_oops(); | |
125 // If "unloading_occurred" is true, then unloads (i.e., breaks root links | 126 // If "unloading_occurred" is true, then unloads (i.e., breaks root links |
126 // to) any unmarked codeBlobs in the cache. Sets "marked_for_unloading" | 127 // to) any unmarked codeBlobs in the cache. Sets "marked_for_unloading" |
127 // to "true" iff some code got unloaded. | 128 // to "true" iff some code got unloaded. |
128 static void do_unloading(BoolObjectClosure* is_alive, | 129 static void do_unloading(BoolObjectClosure* is_alive, |
129 OopClosure* keep_alive, | 130 OopClosure* keep_alive, |