equal
deleted
inserted
replaced
1701 } |
1701 } |
1702 tty->print_cr("Loading classes to share: done."); |
1702 tty->print_cr("Loading classes to share: done."); |
1703 |
1703 |
1704 log_info(cds)("Shared spaces: preloaded %d classes", class_count); |
1704 log_info(cds)("Shared spaces: preloaded %d classes", class_count); |
1705 |
1705 |
|
1706 HeapShared::init_subgraph_entry_fields(THREAD); |
|
1707 |
1706 // Rewrite and link classes |
1708 // Rewrite and link classes |
1707 tty->print_cr("Rewriting and linking classes ..."); |
1709 tty->print_cr("Rewriting and linking classes ..."); |
1708 |
1710 |
1709 // Link any classes which got missed. This would happen if we have loaded classes that |
1711 // Link any classes which got missed. This would happen if we have loaded classes that |
1710 // were not explicitly specified in the classlist. E.g., if an interface implemented by class K |
1712 // were not explicitly specified in the classlist. E.g., if an interface implemented by class K |
1712 // are implemented by K are not verified. |
1714 // are implemented by K are not verified. |
1713 link_and_cleanup_shared_classes(CATCH); |
1715 link_and_cleanup_shared_classes(CATCH); |
1714 tty->print_cr("Rewriting and linking classes: done"); |
1716 tty->print_cr("Rewriting and linking classes: done"); |
1715 |
1717 |
1716 SystemDictionary::clear_invoke_method_table(); |
1718 SystemDictionary::clear_invoke_method_table(); |
1717 HeapShared::init_subgraph_entry_fields(THREAD); |
|
1718 |
1719 |
1719 VM_PopulateDumpSharedSpace op; |
1720 VM_PopulateDumpSharedSpace op; |
1720 VMThread::execute(&op); |
1721 VMThread::execute(&op); |
1721 } |
1722 } |
1722 } |
1723 } |