mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-11 08:23:26 +00:00
8372163: G1: Remove unused G1HeapRegion::remove_code_root
Reviewed-by: tschatzl
This commit is contained in:
parent
ad38a1253a
commit
c419dda4e9
@ -307,10 +307,6 @@ void G1HeapRegion::add_code_root(nmethod* nm) {
|
||||
rem_set()->add_code_root(nm);
|
||||
}
|
||||
|
||||
void G1HeapRegion::remove_code_root(nmethod* nm) {
|
||||
rem_set()->remove_code_root(nm);
|
||||
}
|
||||
|
||||
void G1HeapRegion::code_roots_do(NMethodClosure* blk) const {
|
||||
rem_set()->code_roots_do(blk);
|
||||
}
|
||||
|
||||
@ -543,7 +543,6 @@ public:
|
||||
// Routines for managing a list of code roots (attached to the
|
||||
// this region's RSet) that point into this heap region.
|
||||
void add_code_root(nmethod* nm);
|
||||
void remove_code_root(nmethod* nm);
|
||||
|
||||
// Applies blk->do_nmethod() to each of the entries in
|
||||
// the code roots list for this region
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user