src/hotspot/share/memory/metaspaceShared.cpp
changeset 52596 dfa02b3f728c
parent 52562 3a9384c12260
child 52631 3009ca99de32
equal deleted inserted replaced
52595:16609197022c 52596:dfa02b3f728c
  1492   }
  1492   }
  1493 
  1493 
  1494   if (PrintSystemDictionaryAtExit) {
  1494   if (PrintSystemDictionaryAtExit) {
  1495     SystemDictionary::print();
  1495     SystemDictionary::print();
  1496   }
  1496   }
       
  1497 
       
  1498   if (AllowArchivingWithJavaAgent) {
       
  1499     warning("This archive was created with AllowArchivingWithJavaAgent. It should be used "
       
  1500             "for testing purposes only and should not be used in a production environment");
       
  1501   }
       
  1502 
  1497   // There may be other pending VM operations that operate on the InstanceKlasses,
  1503   // There may be other pending VM operations that operate on the InstanceKlasses,
  1498   // which will fail because InstanceKlasses::remove_unshareable_info()
  1504   // which will fail because InstanceKlasses::remove_unshareable_info()
  1499   // has been called. Forget these operations and exit the VM directly.
  1505   // has been called. Forget these operations and exit the VM directly.
  1500   vm_direct_exit(0);
  1506   vm_direct_exit(0);
  1501 }
  1507 }