comparison src/share/vm/classfile/classLoaderData.inline.hpp @ 13654:503ddcb96bb0

Merge
author dholmes
date Wed, 27 Sep 2017 01:20:56 -0400
parents 46bb2774fc88
children
comparison
equal deleted inserted replaced
7:073842536ea8 8:300152fc92e2
39 return loader_data; 39 return loader_data;
40 } 40 }
41 41
42 42
43 inline ClassLoaderData *ClassLoaderDataGraph::find_or_create(Handle loader, TRAPS) { 43 inline ClassLoaderData *ClassLoaderDataGraph::find_or_create(Handle loader, TRAPS) {
44 guarantee(loader() != NULL && loader()->is_oop(), "Loader must be oop"); 44 guarantee(loader() != NULL && oopDesc::is_oop(loader()), "Loader must be oop");
45 // Gets the class loader data out of the java/lang/ClassLoader object, if non-null 45 // Gets the class loader data out of the java/lang/ClassLoader object, if non-null
46 // it's already in the loader_data, so no need to add 46 // it's already in the loader_data, so no need to add
47 ClassLoaderData* loader_data= java_lang_ClassLoader::loader_data(loader()); 47 ClassLoaderData* loader_data= java_lang_ClassLoader::loader_data(loader());
48 if (loader_data) { 48 if (loader_data) {
49 return loader_data; 49 return loader_data;