hotspot/src/share/vm/runtime/arguments.cpp
changeset 18106 fff80ba1282e
parent 18090 d73d91e93e42
parent 18097 acd70736bd60
child 18506 af8765fafc07
child 18493 752f5cbc2ba6
child 18687 5a0543c157c9
equal deleted inserted replaced
18094:1856e0a7879d 18106:fff80ba1282e
  1891   // Method for adding checks for flag consistency.
  1891   // Method for adding checks for flag consistency.
  1892   // The intent is to warn the user of all possible conflicts,
  1892   // The intent is to warn the user of all possible conflicts,
  1893   // before returning an error.
  1893   // before returning an error.
  1894   // Note: Needs platform-dependent factoring.
  1894   // Note: Needs platform-dependent factoring.
  1895   bool status = true;
  1895   bool status = true;
  1896 
       
  1897 #if ( (defined(COMPILER2) && defined(SPARC)))
       
  1898   // NOTE: The call to VM_Version_init depends on the fact that VM_Version_init
       
  1899   // on sparc doesn't require generation of a stub as is the case on, e.g.,
       
  1900   // x86.  Normally, VM_Version_init must be called from init_globals in
       
  1901   // init.cpp, which is called by the initial java thread *after* arguments
       
  1902   // have been parsed.  VM_Version_init gets called twice on sparc.
       
  1903   extern void VM_Version_init();
       
  1904   VM_Version_init();
       
  1905   if (!VM_Version::has_v9()) {
       
  1906     jio_fprintf(defaultStream::error_stream(),
       
  1907                 "V8 Machine detected, Server requires V9\n");
       
  1908     status = false;
       
  1909   }
       
  1910 #endif /* COMPILER2 && SPARC */
       
  1911 
  1896 
  1912   // Allow both -XX:-UseStackBanging and -XX:-UseBoundThreads in non-product
  1897   // Allow both -XX:-UseStackBanging and -XX:-UseBoundThreads in non-product
  1913   // builds so the cost of stack banging can be measured.
  1898   // builds so the cost of stack banging can be measured.
  1914 #if (defined(PRODUCT) && defined(SOLARIS))
  1899 #if (defined(PRODUCT) && defined(SOLARIS))
  1915   if (!UseBoundThreads && !UseStackBanging) {
  1900   if (!UseBoundThreads && !UseStackBanging) {