hotspot/src/share/vm/classfile/classFileParser.cpp
changeset 37094 c12f414936a1
parent 37078 dc9ee85e80d3
child 37179 4dbcb3a642d2
equal deleted inserted replaced
37079:a92fc7ba87a2 37094:c12f414936a1
  5682     );
  5682     );
  5683     return;
  5683     return;
  5684   }
  5684   }
  5685 
  5685 
  5686   if (!is_internal()) {
  5686   if (!is_internal()) {
  5687     if (TraceClassLoadingPreorder) {
  5687     if (log_is_enabled(Debug, classload, preorder)){
  5688       tty->print("[Loading %s",
  5688       ResourceMark rm(THREAD);
  5689         _class_name->as_klass_external_name());
  5689       outputStream* log = LogHandle(classload, preorder)::debug_stream();
  5690 
  5690       log->print("%s", _class_name->as_klass_external_name());
  5691       if (stream->source() != NULL) {
  5691       if (stream->source() != NULL) {
  5692         tty->print(" from %s", stream->source());
  5692         log->print(" source: %s", stream->source());
  5693       }
  5693       }
  5694       tty->print_cr("]");
  5694       log->cr();
  5695     }
  5695     }
       
  5696 
  5696 #if INCLUDE_CDS
  5697 #if INCLUDE_CDS
  5697     if (DumpLoadedClassList != NULL && stream->source() != NULL && classlist_file->is_open()) {
  5698     if (DumpLoadedClassList != NULL && stream->source() != NULL && classlist_file->is_open()) {
  5698       // Only dump the classes that can be stored into CDS archive
  5699       // Only dump the classes that can be stored into CDS archive
  5699       if (SystemDictionaryShared::is_sharing_possible(_loader_data)) {
  5700       if (SystemDictionaryShared::is_sharing_possible(_loader_data)) {
  5700         ResourceMark rm(THREAD);
  5701         ResourceMark rm(THREAD);