equal
deleted
inserted
replaced
2700 } |
2700 } |
2701 return (address)-1; |
2701 return (address)-1; |
2702 } |
2702 } |
2703 #endif |
2703 #endif |
2704 |
2704 |
2705 #ifndef PRODUCT |
|
2706 void os::win32::call_test_func_with_wrapper(void (*funcPtr)(void)) { |
2705 void os::win32::call_test_func_with_wrapper(void (*funcPtr)(void)) { |
2707 // Install a win32 structured exception handler around the test |
2706 // Install a win32 structured exception handler around the test |
2708 // function call so the VM can generate an error dump if needed. |
2707 // function call so the VM can generate an error dump if needed. |
2709 __try { |
2708 __try { |
2710 (*funcPtr)(); |
2709 (*funcPtr)(); |
2711 } __except(topLevelExceptionFilter( |
2710 } __except(topLevelExceptionFilter( |
2712 (_EXCEPTION_POINTERS*)_exception_info())) { |
2711 (_EXCEPTION_POINTERS*)_exception_info())) { |
2713 // Nothing to do. |
2712 // Nothing to do. |
2714 } |
2713 } |
2715 } |
2714 } |
2716 #endif |
|
2717 |
2715 |
2718 // Virtual Memory |
2716 // Virtual Memory |
2719 |
2717 |
2720 int os::vm_page_size() { return os::win32::vm_page_size(); } |
2718 int os::vm_page_size() { return os::win32::vm_page_size(); } |
2721 int os::vm_allocation_granularity() { |
2719 int os::vm_allocation_granularity() { |