mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
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:
parent
dcd4a03963
commit
4699c70e25
14 changed files with 202 additions and 480 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue