comparison src/os/solaris/vm/os_solaris.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 d22136881b85
children 41a855ff6305
comparison
equal deleted inserted replaced
22882:ffae627760ca 22883:8461d0b03127
5190 5190
5191 // Init pset_loadavg function pointer 5191 // Init pset_loadavg function pointer
5192 init_pset_getloadavg_ptr(); 5192 init_pset_getloadavg_ptr();
5193 5193
5194 return JNI_OK; 5194 return JNI_OK;
5195 }
5196
5197 void os::init_3(void) {
5198 return;
5199 } 5195 }
5200 5196
5201 // Mark the polling page as unreadable 5197 // Mark the polling page as unreadable
5202 void os::make_polling_page_unreadable(void) { 5198 void os::make_polling_page_unreadable(void) {
5203 if( mprotect((char *)_polling_page, page_size, PROT_NONE) != 0 ) 5199 if( mprotect((char *)_polling_page, page_size, PROT_NONE) != 0 )