comparison src/os/windows/vm/os_windows.cpp @ 22883:8461d0b03127

8043770: File leak in MemNotifyThread::start() in hotspot.src.os.linux.vm.os_linux.cpp Summary: Fixed by removing all code related to LowMemoryProtection, which removed offending code. Reviewed-by: dholmes, minqi
author cjplummer
date Thu, 12 Mar 2015 22:03:16 -0400
parents 09259e52a610
children 9a23a160ca57
comparison
equal deleted inserted replaced
22882:ffae627760ca 22883:8461d0b03127
4060 } 4060 }
4061 4061
4062 return JNI_OK; 4062 return JNI_OK;
4063 } 4063 }
4064 4064
4065 void os::init_3(void) {
4066 return;
4067 }
4068
4069 // Mark the polling page as unreadable 4065 // Mark the polling page as unreadable
4070 void os::make_polling_page_unreadable(void) { 4066 void os::make_polling_page_unreadable(void) {
4071 DWORD old_status; 4067 DWORD old_status;
4072 if( !VirtualProtect((char *)_polling_page, os::vm_page_size(), PAGE_NOACCESS, &old_status) ) 4068 if( !VirtualProtect((char *)_polling_page, os::vm_page_size(), PAGE_NOACCESS, &old_status) )
4073 fatal("Could not disable polling page"); 4069 fatal("Could not disable polling page");