hotspot/src/share/vm/classfile/classLoader.cpp
changeset 24424 2658d7834c6e
parent 22838 82c7497fbad4
child 25057 f38210f84f8c
equal deleted inserted replaced
24358:8528b67f6562 24424:2658d7834c6e
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   341 static void print_meta_index(LazyClassPathEntry* entry,
   341 static void print_meta_index(LazyClassPathEntry* entry,
   342                              GrowableArray<char*>& meta_packages) {
   342                              GrowableArray<char*>& meta_packages) {
   343   tty->print("[Meta index for %s=", entry->name());
   343   tty->print("[Meta index for %s=", entry->name());
   344   for (int i = 0; i < meta_packages.length(); i++) {
   344   for (int i = 0; i < meta_packages.length(); i++) {
   345     if (i > 0) tty->print(" ");
   345     if (i > 0) tty->print(" ");
   346     tty->print(meta_packages.at(i));
   346     tty->print("%s", meta_packages.at(i));
   347   }
   347   }
   348   tty->print_cr("]");
   348   tty->print_cr("]");
   349 }
   349 }
   350 
   350 
   351 
   351 
  1297     if (e->is_rt_jar() && e != _first_entry) break;
  1297     if (e->is_rt_jar() && e != _first_entry) break;
  1298     e->compile_the_world(system_class_loader, CATCH);
  1298     e->compile_the_world(system_class_loader, CATCH);
  1299     e = e->next();
  1299     e = e->next();
  1300   }
  1300   }
  1301   jlong end = os::javaTimeMillis();
  1301   jlong end = os::javaTimeMillis();
  1302   tty->print_cr("CompileTheWorld : Done (%d classes, %d methods, %d ms)",
  1302   tty->print_cr("CompileTheWorld : Done (%d classes, %d methods, " JLONG_FORMAT " ms)",
  1303                 _compile_the_world_class_counter, _compile_the_world_method_counter, (end - start));
  1303                 _compile_the_world_class_counter, _compile_the_world_method_counter, (end - start));
  1304   {
  1304   {
  1305     // Print statistics as if before normal exit:
  1305     // Print statistics as if before normal exit:
  1306     extern void print_statistics();
  1306     extern void print_statistics();
  1307     print_statistics();
  1307     print_statistics();