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) {
|
void ClassLoaderDataGraph::always_strong_cld_do(CLDClosure* cl) {
|
||||||
if (ClassUnloading) {
|
if (ClassUnloading) {
|
||||||
keep_alive_cld_do(cl);
|
roots_cld_do(cl, NULL);
|
||||||
} else {
|
} else {
|
||||||
cld_do(cl);
|
cld_do(cl);
|
||||||
}
|
}
|
||||||
|
|
|
@ -104,7 +104,6 @@ class ClassLoaderDataGraph : public AllStatic {
|
||||||
static void cld_do(CLDClosure* cl);
|
static void cld_do(CLDClosure* cl);
|
||||||
static void cld_unloading_do(CLDClosure* cl);
|
static void cld_unloading_do(CLDClosure* cl);
|
||||||
static void roots_cld_do(CLDClosure* strong, CLDClosure* weak);
|
static void roots_cld_do(CLDClosure* strong, CLDClosure* weak);
|
||||||
static void keep_alive_cld_do(CLDClosure* cl);
|
|
||||||
static void always_strong_cld_do(CLDClosure* cl);
|
static void always_strong_cld_do(CLDClosure* cl);
|
||||||
// klass do
|
// klass do
|
||||||
// Walking classes through the ClassLoaderDataGraph include array classes. It also includes
|
// Walking classes through the ClassLoaderDataGraph include array classes. It also includes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue