< prev index next >

src/os/windows/vm/os_windows.cpp

Print this page




5603   for (unsigned i = 0; i < ARRAY_SIZE(siglabels); ++i) {
5604     if (strcmp(name, siglabels[i].name) == 0) {
5605       return siglabels[i].number;
5606     }
5607   }
5608   return -1;
5609 }
5610 
5611 // Fast current thread access
5612 
5613 int os::win32::_thread_ptr_offset = 0;
5614 
5615 static void call_wrapper_dummy() {}
5616 
5617 // We need to call the os_exception_wrapper once so that it sets
5618 // up the offset from FS of the thread pointer.
5619 void os::win32::initialize_thread_ptr_offset() {
5620   os::os_exception_wrapper((java_call_t)call_wrapper_dummy,
5621                            NULL, NULL, NULL, NULL);
5622 }







5603   for (unsigned i = 0; i < ARRAY_SIZE(siglabels); ++i) {
5604     if (strcmp(name, siglabels[i].name) == 0) {
5605       return siglabels[i].number;
5606     }
5607   }
5608   return -1;
5609 }
5610 
5611 // Fast current thread access
5612 
5613 int os::win32::_thread_ptr_offset = 0;
5614 
5615 static void call_wrapper_dummy() {}
5616 
5617 // We need to call the os_exception_wrapper once so that it sets
5618 // up the offset from FS of the thread pointer.
5619 void os::win32::initialize_thread_ptr_offset() {
5620   os::os_exception_wrapper((java_call_t)call_wrapper_dummy,
5621                            NULL, NULL, NULL, NULL);
5622 }
5623 
5624 bool os::map_memory_to_file(char* base, size_t size, const char* backingFileDir) {
5625   VMError::report_and_die("Allocating object heap with backing file is not supported for Windows");
5626   return false;
5627 }
< prev index next >