< prev index next >

src/hotspot/os/solaris/os_solaris.cpp

Print this page

        

@@ -2584,11 +2584,11 @@
 
 char* os::pd_attempt_reserve_memory_at(size_t bytes, char* requested_addr, int file_desc) {
   assert(file_desc >= 0, "file_desc is not valid");
   char* result = pd_attempt_reserve_memory_at(bytes, requested_addr);
   if (result != NULL) {
-    if (replace_existing_mapping_with_dax_file_mapping(result, bytes, file_desc) == NULL) {
+    if (replace_existing_mapping_with_file_mapping(result, bytes, file_desc) == NULL) {
       vm_exit_during_initialization(err_msg("Error in mapping Java heap at the given filesystem directory"));
     }
   }
   return result;
 }
< prev index next >