src/hotspot/share/runtime/arguments.cpp
changeset 58732 d2da05214592
parent 58447 319173c62caa
child 58804 0942a1f47d26
equal deleted inserted replaced
58731:de395bbd7a93 58732:d2da05214592
  3966   if (DumpSharedSpaces || RequireSharedSpaces) {
  3966   if (DumpSharedSpaces || RequireSharedSpaces) {
  3967     jio_fprintf(defaultStream::error_stream(),
  3967     jio_fprintf(defaultStream::error_stream(),
  3968       "Shared spaces are not supported in this VM\n");
  3968       "Shared spaces are not supported in this VM\n");
  3969     return JNI_ERR;
  3969     return JNI_ERR;
  3970   }
  3970   }
       
  3971   if (DumpLoadedClassList != NULL) {
       
  3972     jio_fprintf(defaultStream::error_stream(),
       
  3973       "DumpLoadedClassList is not supported in this VM\n");
       
  3974     return JNI_ERR;
       
  3975   }
  3971   if ((UseSharedSpaces && FLAG_IS_CMDLINE(UseSharedSpaces)) ||
  3976   if ((UseSharedSpaces && FLAG_IS_CMDLINE(UseSharedSpaces)) ||
  3972       log_is_enabled(Info, cds)) {
  3977       log_is_enabled(Info, cds)) {
  3973     warning("Shared spaces are not supported in this VM");
  3978     warning("Shared spaces are not supported in this VM");
  3974     FLAG_SET_DEFAULT(UseSharedSpaces, false);
  3979     FLAG_SET_DEFAULT(UseSharedSpaces, false);
  3975     LogConfiguration::configure_stdout(LogLevel::Off, true, LOG_TAGS(cds));
  3980     LogConfiguration::configure_stdout(LogLevel::Off, true, LOG_TAGS(cds));