hotspot Udiff src/share/vm/classfile/systemDictionary.cpp (original) (raw)

Print this page

rev 9227 : [mq] cds


@@ -320,10 +320,21 @@ Symbol* class_name, Handle class_loader, Handle protection_domain, bool is_superclass, TRAPS) { +#if INCLUDE_CDS


@@ -1069,10 +1080,39 @@ // Make sure we are synchronized on the class loader before we proceed Handle lockObject = compute_loader_lock_object(class_loader, THREAD); check_loader_lock_contention(lockObject, THREAD); ObjectLocker ol(lockObject, THREAD, DoObjectLock);

+#if INCLUDE_CDS


@@ -1199,12 +1239,17 @@ // are shared, add them to the main system dictionary and reset // their hierarchy references (supers, subs, and interfaces).

 if (ik->super() != NULL) {
   Symbol*  cn = ik->super()->name();

@@ -1213,11 +1258,16 @@ // Note: can not use InstanceKlass::cast here because // interfaces' InstanceKlass's C++ vtbls haven't been // reinitialized yet (they will be once the interface classes // are loaded) Symbol* name = k->name();