hotspot/src/share/vm/classfile/classLoaderData.cpp
changeset 16617 6235d2c7549f
parent 16352 1ff72c6eaa70
child 16684 2af47517ffbd
--- a/hotspot/src/share/vm/classfile/classLoaderData.cpp	Sun Mar 24 12:43:13 2013 -0700
+++ b/hotspot/src/share/vm/classfile/classLoaderData.cpp	Mon Mar 25 17:13:26 2013 -0700
@@ -321,6 +321,13 @@
   }
 }
 
+/**
+ * Returns true if this class loader data is for the extension class loader.
+ */
+bool ClassLoaderData::is_ext_class_loader_data() const {
+  return SystemDictionary::is_ext_class_loader(class_loader());
+}
+
 Metaspace* ClassLoaderData::metaspace_non_null() {
   assert(!DumpSharedSpaces, "wrong metaspace!");
   // If the metaspace has not been allocated, create a new one.  Might want