mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
6953477: Increase portability and flexibility of building Hotspot
A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail. Reviewed-by: phh, never, coleenp, dholmes
This commit is contained in:
parent
c45761e2a8
commit
b95c7e9523
113 changed files with 1669 additions and 559 deletions
|
@ -687,16 +687,13 @@ void VMError::report(outputStream* st) {
|
|||
# undef END
|
||||
}
|
||||
|
||||
VMError* volatile VMError::first_error = NULL;
|
||||
volatile jlong VMError::first_error_tid = -1;
|
||||
|
||||
void VMError::report_and_die() {
|
||||
// Don't allocate large buffer on stack
|
||||
static char buffer[O_BUFLEN];
|
||||
|
||||
// First error, and its thread id. We must be able to handle native thread,
|
||||
// so use thread id instead of Thread* to identify thread.
|
||||
static VMError* first_error;
|
||||
static jlong first_error_tid;
|
||||
|
||||
// An error could happen before tty is initialized or after it has been
|
||||
// destroyed. Here we use a very simple unbuffered fdStream for printing.
|
||||
// Only out.print_raw() and out.print_raw_cr() should be used, as other
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue