8185160: -XX:DumpLoadedClassList omits graal classes

Reviewed-by: jiangli, dholmes, lfoltan
This commit is contained in:
Ioi Lam 2017-10-21 15:15:46 -07:00
parent a9f136ec2e
commit 41796c1066
6 changed files with 36 additions and 25 deletions

View file

@ -3113,7 +3113,7 @@ void InstanceKlass::print_class_load_logging(ClassLoaderData* loader_data,
if (cfs != NULL) {
if (cfs->source() != NULL) {
if (module_name != NULL) {
if (ClassLoader::is_jrt(cfs->source())) {
if (ClassLoader::is_modules_image(cfs->source())) {
info_stream.print(" source: jrt:/%s", module_name);
} else {
info_stream.print(" source: %s", cfs->source());