2081 if ((UseNUMAInterleaving && !FLAG_IS_DEFAULT(UseNUMAInterleaving)) || (UseNUMA && !FLAG_IS_DEFAULT(UseNUMA))) {
2082 log_warning(arguments) ("NUMA support for Heap depends on the file system when AllocateHeapAt option is used.\n");
2083 }
2084 }
2085
2086 // FIXME
2087 //if (LP64_ONLY(false &&) !FLAG_IS_DEFAULT(ValueTypePassFieldsAsArgs)) {
2088 if (!FLAG_IS_DEFAULT(ValueTypePassFieldsAsArgs)) {
2089 FLAG_SET_CMDLINE(bool, ValueTypePassFieldsAsArgs, false);
2090 warning("ValueTypePassFieldsAsArgs is not supported on this platform");
2091 }
2092
2093 // FIXME
2094 //if (LP64_ONLY(false &&) !FLAG_IS_DEFAULT(ValueTypeReturnedAsFields)) {
2095 if (!FLAG_IS_DEFAULT(ValueTypeReturnedAsFields)) {
2096 FLAG_SET_CMDLINE(bool, ValueTypeReturnedAsFields, false);
2097 warning("ValueTypeReturnedAsFields is not supported on this platform");
2098 }
2099
2100 if (EnableValhalla) {
2101 // C1 has no support for value types
2102 if (!FLAG_IS_DEFAULT(TieredCompilation)) {
2103 warning("TieredCompilation disabled because value types are not supported by C1");
2104 }
2105 FLAG_SET_CMDLINE(bool, TieredCompilation, false);
2106 } else {
2107 FLAG_SET_CMDLINE(bool, ValueArrayFlatten, false);
2108 }
2109
2110 return status;
2111 }
2112
2113 bool Arguments::is_bad_option(const JavaVMOption* option, jboolean ignore,
2114 const char* option_type) {
2115 if (ignore) return false;
2116
2117 const char* spacer = " ";
2118 if (option_type == NULL) {
2119 option_type = ++spacer; // Set both to the empty string.
2120 }
2121
2122 if (os::obsolete_option(option)) {
2123 jio_fprintf(defaultStream::error_stream(),
2124 "Obsolete %s%soption: %s\n", option_type, spacer,
2125 option->optionString);
|
2081 if ((UseNUMAInterleaving && !FLAG_IS_DEFAULT(UseNUMAInterleaving)) || (UseNUMA && !FLAG_IS_DEFAULT(UseNUMA))) {
2082 log_warning(arguments) ("NUMA support for Heap depends on the file system when AllocateHeapAt option is used.\n");
2083 }
2084 }
2085
2086 // FIXME
2087 //if (LP64_ONLY(false &&) !FLAG_IS_DEFAULT(ValueTypePassFieldsAsArgs)) {
2088 if (!FLAG_IS_DEFAULT(ValueTypePassFieldsAsArgs)) {
2089 FLAG_SET_CMDLINE(bool, ValueTypePassFieldsAsArgs, false);
2090 warning("ValueTypePassFieldsAsArgs is not supported on this platform");
2091 }
2092
2093 // FIXME
2094 //if (LP64_ONLY(false &&) !FLAG_IS_DEFAULT(ValueTypeReturnedAsFields)) {
2095 if (!FLAG_IS_DEFAULT(ValueTypeReturnedAsFields)) {
2096 FLAG_SET_CMDLINE(bool, ValueTypeReturnedAsFields, false);
2097 warning("ValueTypeReturnedAsFields is not supported on this platform");
2098 }
2099
2100 if (EnableValhalla) {
2101 if (!EnableValhallaC1) {
2102 // C1 support for value types is incomplete. Don't use it by default.
2103 if (!FLAG_IS_DEFAULT(TieredCompilation)) {
2104 warning("TieredCompilation disabled because value types are not supported by C1");
2105 }
2106 FLAG_SET_CMDLINE(bool, TieredCompilation, false);
2107 } else {
2108 if (TieredStopAtLevel > 1) {
2109 warning("C1 doesn't work with C2 yet. Forcing TieredStopAtLevel=1");
2110 FLAG_SET_CMDLINE(intx, TieredStopAtLevel, 1);
2111 }
2112 }
2113 } else {
2114 FLAG_SET_CMDLINE(bool, ValueArrayFlatten, false);
2115 }
2116
2117 return status;
2118 }
2119
2120 bool Arguments::is_bad_option(const JavaVMOption* option, jboolean ignore,
2121 const char* option_type) {
2122 if (ignore) return false;
2123
2124 const char* spacer = " ";
2125 if (option_type == NULL) {
2126 option_type = ++spacer; // Set both to the empty string.
2127 }
2128
2129 if (os::obsolete_option(option)) {
2130 jio_fprintf(defaultStream::error_stream(),
2131 "Obsolete %s%soption: %s\n", option_type, spacer,
2132 option->optionString);
|