< prev index next >
src/hotspot/os/windows/os_windows.cpp
Print this page
rev 56578 : 8232211: Remove dead code from os.hpp|cpp
Reviewed-by: TBD
@@ -824,15 +824,10 @@
__try {
RaiseException (MS_VC_EXCEPTION, 0, sizeof(info)/sizeof(DWORD), (const ULONG_PTR*)&info );
} __except(EXCEPTION_EXECUTE_HANDLER) {}
}
-bool os::distribute_processes(uint length, uint* distribution) {
- // Not yet implemented.
- return false;
-}
-
bool os::bind_to_processor(uint processor_id) {
// Not yet implemented.
return false;
}
@@ -909,12 +904,10 @@
result.dwLowDateTime = low(a);
return result;
}
bool os::supports_vtime() { return true; }
-bool os::enable_vtime() { return false; }
-bool os::vtime_enabled() { return false; }
double os::elapsedVTime() {
FILETIME created;
FILETIME exited;
FILETIME kernel;
@@ -3902,16 +3895,10 @@
_setmode(_fileno(stdin), _O_BINARY);
_setmode(_fileno(stdout), _O_BINARY);
_setmode(_fileno(stderr), _O_BINARY);
}
-
-bool os::is_debugger_attached() {
- return IsDebuggerPresent() ? true : false;
-}
-
-
void os::wait_for_keypress_at_exit(void) {
if (PauseAtExit) {
fprintf(stderr, "Press any key to continue...\n");
fgetc(stdin);
}
< prev index next >