< prev index next >
src/share/vm/code/codeCache.hpp
Print this page
rev 13281 : [mq]: CollectedHeap_register_nmethod_v2
@@ -179,10 +179,13 @@
// objects to their new location immediately to avoid fixing nmethods on the
// basis of the old object locations.
static void scavenge_root_nmethods_do(CodeBlobToOopClosure* f);
static nmethod* scavenge_root_nmethods() { return _scavenge_root_nmethods; }
+ // register_scavenge_root_nmethod() conditionally adds the nmethod to the list
+ // if it is not already on the list and has a scavengeable root
+ static void register_scavenge_root_nmethod(nmethod* nm);
static void add_scavenge_root_nmethod(nmethod* nm);
static void drop_scavenge_root_nmethod(nmethod* nm);
// Printing/debugging
static void print(); // prints summary
< prev index next >