hotspot/src/share/vm/runtime/arguments.cpp
changeset 41281 e1dc38ba642f
parent 41077 19f70464986e
child 41708 82f5dc0dfccf
child 41467 45f3ffa45ebc
equal deleted inserted replaced
41279:5a7c83da4a2d 41281:e1dc38ba642f
  3895   return status;
  3895   return status;
  3896 }
  3896 }
  3897 
  3897 
  3898 void Arguments::set_shared_spaces_flags() {
  3898 void Arguments::set_shared_spaces_flags() {
  3899   if (DumpSharedSpaces) {
  3899   if (DumpSharedSpaces) {
  3900     if (Arguments::get_patch_mod_prefix() != NULL) {
       
  3901       vm_exit_during_initialization(
       
  3902         "Cannot use the following option when dumping the shared archive: --patch-module");
       
  3903     }
       
  3904 
  3900 
  3905     if (RequireSharedSpaces) {
  3901     if (RequireSharedSpaces) {
  3906       warning("Cannot dump shared archive while using shared archive");
  3902       warning("Cannot dump shared archive while using shared archive");
  3907     }
  3903     }
  3908     UseSharedSpaces = false;
  3904     UseSharedSpaces = false;