final Unsafe unsafe = UnsafeHolder.UNSAFE;
unsafe.monitorExit(this);
try {
return performLoadClassChecked(className, exportsOnly, resolve);
} finally {
unsafe.monitorEnter(this);
}
}
if (Thread.currentThread() != LoaderThreadHolder.LOADER_THREAD) {
// Only the classloader thread may take this lock; use a condition to relinquish it
final LoadRequest req = new LoadRequest(className, resolve, exportsOnly, this, AccessController.getContext());