< prev index next >

src/hotspot/share/runtime/arguments.cpp

Print this page




2094       return false;
2095     }
2096   }
2097 #endif
2098 
2099 #ifndef SUPPORT_RESERVED_STACK_AREA
2100   if (StackReservedPages != 0) {
2101     FLAG_SET_CMDLINE(StackReservedPages, 0);
2102     warning("Reserved Stack Area not supported on this platform");
2103   }
2104 #endif
2105 
2106   if (!FLAG_IS_DEFAULT(AllocateHeapAt)) {
2107     if ((UseNUMAInterleaving && !FLAG_IS_DEFAULT(UseNUMAInterleaving)) || (UseNUMA && !FLAG_IS_DEFAULT(UseNUMA))) {
2108       log_warning(arguments) ("NUMA support for Heap depends on the file system when AllocateHeapAt option is used.\n");
2109     }
2110   }
2111 
2112   status = status && GCArguments::check_args_consistency();
2113 
2114   if (LP64_ONLY(false &&) !FLAG_IS_DEFAULT(ValueTypePassFieldsAsArgs)) {
2115     FLAG_SET_CMDLINE(ValueTypePassFieldsAsArgs, false);
2116     warning("ValueTypePassFieldsAsArgs is not supported on this platform");
2117   }
2118 
2119   if (LP64_ONLY(false &&) !FLAG_IS_DEFAULT(ValueTypeReturnedAsFields)) {
2120     FLAG_SET_CMDLINE(ValueTypeReturnedAsFields, false);
2121     warning("ValueTypeReturnedAsFields is not supported on this platform");
2122   }
2123 
2124   if (EnableValhalla) {
2125     if (!EnableValhallaC1) {
2126       // C1 support for value types is incomplete. Don't use it by default.
2127       if (!FLAG_IS_DEFAULT(TieredCompilation)) {
2128         warning("TieredCompilation disabled because value types are not fully supported by C1");
2129       }
2130       FLAG_SET_CMDLINE(TieredCompilation, false);
2131     } else {
2132       /*
2133         TEMP: to run the valuetype tests with C1, you need to use the following command-line:
2134 
2135         cd test/hotspot/jtreg/compiler/valhalla/valuetypes
2136         jtreg \
2137             -javaoption:-XX:+EnableValhallaC1 \
2138             -javaoption:-XX:TieredStopAtLevel=1 \
2139             .




2094       return false;
2095     }
2096   }
2097 #endif
2098 
2099 #ifndef SUPPORT_RESERVED_STACK_AREA
2100   if (StackReservedPages != 0) {
2101     FLAG_SET_CMDLINE(StackReservedPages, 0);
2102     warning("Reserved Stack Area not supported on this platform");
2103   }
2104 #endif
2105 
2106   if (!FLAG_IS_DEFAULT(AllocateHeapAt)) {
2107     if ((UseNUMAInterleaving && !FLAG_IS_DEFAULT(UseNUMAInterleaving)) || (UseNUMA && !FLAG_IS_DEFAULT(UseNUMA))) {
2108       log_warning(arguments) ("NUMA support for Heap depends on the file system when AllocateHeapAt option is used.\n");
2109     }
2110   }
2111 
2112   status = status && GCArguments::check_args_consistency();
2113 
2114   if (AMD64_ONLY(false &&) !FLAG_IS_DEFAULT(ValueTypePassFieldsAsArgs)) {
2115     FLAG_SET_CMDLINE(ValueTypePassFieldsAsArgs, false);
2116     warning("ValueTypePassFieldsAsArgs is not supported on this platform");
2117   }
2118 
2119   if (AMD64_ONLY(false &&) !FLAG_IS_DEFAULT(ValueTypeReturnedAsFields)) {
2120     FLAG_SET_CMDLINE(ValueTypeReturnedAsFields, false);
2121     warning("ValueTypeReturnedAsFields is not supported on this platform");
2122   }
2123 
2124   if (EnableValhalla) {
2125     if (!EnableValhallaC1) {
2126       // C1 support for value types is incomplete. Don't use it by default.
2127       if (!FLAG_IS_DEFAULT(TieredCompilation)) {
2128         warning("TieredCompilation disabled because value types are not fully supported by C1");
2129       }
2130       FLAG_SET_CMDLINE(TieredCompilation, false);
2131     } else {
2132       /*
2133         TEMP: to run the valuetype tests with C1, you need to use the following command-line:
2134 
2135         cd test/hotspot/jtreg/compiler/valhalla/valuetypes
2136         jtreg \
2137             -javaoption:-XX:+EnableValhallaC1 \
2138             -javaoption:-XX:TieredStopAtLevel=1 \
2139             .


< prev index next >