mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8185141: Generalize scavengeable nmethod root handling
Reviewed-by: tschatzl, pliden, rkennke
This commit is contained in:
parent
34622112b6
commit
ebf1633bd2
13 changed files with 73 additions and 86 deletions
|
@ -181,6 +181,10 @@ class CodeCache : AllStatic {
|
|||
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 verify_scavenge_root_nmethod(nmethod* nm);
|
||||
static void add_scavenge_root_nmethod(nmethod* nm);
|
||||
static void drop_scavenge_root_nmethod(nmethod* nm);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue