< prev index next >

src/hotspot/share/runtime/arguments.cpp

Print this page




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(intx, ValueTypesBufferMaxMemory, 0);
2108     FLAG_SET_CMDLINE(bool, ValueArrayFlatten, false);
2109   }
2110 
2111   return status;
2112 }
2113 
2114 bool Arguments::is_bad_option(const JavaVMOption* option, jboolean ignore,
2115   const char* option_type) {
2116   if (ignore) return false;
2117 
2118   const char* spacer = " ";
2119   if (option_type == NULL) {
2120     option_type = ++spacer; // Set both to the empty string.
2121   }
2122 
2123   if (os::obsolete_option(option)) {
2124     jio_fprintf(defaultStream::error_stream(),
2125                 "Obsolete %s%soption: %s\n", option_type, spacer,
2126       option->optionString);
2127     return false;




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);
2126     return false;


< prev index next >