src/os/solaris/vm/os_solaris.cpp

Print this page

        

@@ -3328,10 +3328,11 @@
   if (UseISM) {
     // ISM disables MPSS to be compatible with old JDK behavior
     UseMPSS = false;
     _page_sizes[0] = _large_page_size;
     _page_sizes[1] = vm_page_size();
+    _page_sizes[2] = 0;
   }
 
   UseMPSS = UseMPSS &&
             Solaris::mpss_sanity_check(warn_on_failure, &_large_page_size);
 

@@ -5073,13 +5074,11 @@
 
 #ifndef PRODUCT
     if(Verbose && PrintMiscellaneous)
       tty->print("[Memory Serialize  Page address: " INTPTR_FORMAT "]\n", (intptr_t)mem_serialize_page);
 #endif
-}
-
-  os::large_page_init();
+  }
 
   // Check minimum allowable stack size for thread creation and to initialize
   // the java system classes, including StackOverflowError - depends on page
   // size.  Add a page for compiler2 recursion in main thread.
   // Add in 2*BytesPerWord times page size to account for VM stack during