equal
deleted
inserted
replaced
3442 } |
3442 } |
3443 |
3443 |
3444 return JNI_OK; |
3444 return JNI_OK; |
3445 } |
3445 } |
3446 |
3446 |
|
3447 void os::init_3(void) { |
|
3448 return; |
|
3449 } |
3447 |
3450 |
3448 // Mark the polling page as unreadable |
3451 // Mark the polling page as unreadable |
3449 void os::make_polling_page_unreadable(void) { |
3452 void os::make_polling_page_unreadable(void) { |
3450 DWORD old_status; |
3453 DWORD old_status; |
3451 if( !VirtualProtect((char *)_polling_page, os::vm_page_size(), PAGE_NOACCESS, &old_status) ) |
3454 if( !VirtualProtect((char *)_polling_page, os::vm_page_size(), PAGE_NOACCESS, &old_status) ) |
4103 } |
4106 } |
4104 return true; |
4107 return true; |
4105 } |
4108 } |
4106 |
4109 |
4107 |
4110 |
4108 #ifndef PRODUCT |
4111 bool os::find(address addr, outputStream* st) { |
4109 bool os::find(address addr) { |
|
4110 // Nothing yet |
4112 // Nothing yet |
4111 return false; |
4113 return false; |
4112 } |
4114 } |
4113 #endif |
|
4114 |
4115 |
4115 LONG WINAPI os::win32::serialize_fault_filter(struct _EXCEPTION_POINTERS* e) { |
4116 LONG WINAPI os::win32::serialize_fault_filter(struct _EXCEPTION_POINTERS* e) { |
4116 DWORD exception_code = e->ExceptionRecord->ExceptionCode; |
4117 DWORD exception_code = e->ExceptionRecord->ExceptionCode; |
4117 |
4118 |
4118 if ( exception_code == EXCEPTION_ACCESS_VIOLATION ) { |
4119 if ( exception_code == EXCEPTION_ACCESS_VIOLATION ) { |
4162 buf[n] = '\0'; |
4163 buf[n] = '\0'; |
4163 return (int)n; |
4164 return (int)n; |
4164 } |
4165 } |
4165 return 0; |
4166 return 0; |
4166 } |
4167 } |
|
4168 |
|
4169 |
|
4170 // We don't build a headless jre for Windows |
|
4171 bool os::is_headless_jre() { return false; } |
|
4172 |