8136978: Much nearly duplicated code for vmError support

Moved all non os specific code in vmError_[os].cpp to vmError_posix.cpp, moved os specific code to os_[os].cpp and refactored all other references accordingly

Reviewed-by: stuefe, coleenp, dholmes
This commit is contained in:
Sebastian Sickelmann 2015-11-25 16:33:28 +01:00
parent dcd4a03963
commit 4699c70e25
14 changed files with 202 additions and 480 deletions

View file

@ -1349,3 +1349,11 @@ void VMError::report_java_out_of_memory(const char* message) {
VMThread::execute(&op);
}
}
void VMError::show_message_box(char *buf, int buflen) {
bool yes;
do {
error_string(buf, buflen);
yes = os::start_debugging(buf,buflen);
} while (yes);
}