mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8209792: Remove ClassLoaderDataGraph::keep_alive_cld_do
Unnecessary Reviewed-by: zgu, tschatzl
This commit is contained in:
parent
dc556f4086
commit
eca24bfb55
2 changed files with 1 additions and 6 deletions
|
@ -1144,13 +1144,9 @@ void ClassLoaderDataGraph::roots_cld_do(CLDClosure* strong, CLDClosure* weak) {
|
|||
}
|
||||
}
|
||||
|
||||
void ClassLoaderDataGraph::keep_alive_cld_do(CLDClosure* cl) {
|
||||
roots_cld_do(cl, NULL);
|
||||
}
|
||||
|
||||
void ClassLoaderDataGraph::always_strong_cld_do(CLDClosure* cl) {
|
||||
if (ClassUnloading) {
|
||||
keep_alive_cld_do(cl);
|
||||
roots_cld_do(cl, NULL);
|
||||
} else {
|
||||
cld_do(cl);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue