Mercurial > hg > truffle
comparison src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp @ 17739:98af1e198e73
8037226: compiler/7196199/Test7196199.java fails on 32-bit linux with MaxVectorSize > 16
Summary: verify YMM registers after signal processing and set limit on vector's size.
Reviewed-by: iveresov, twisti
author | kvn |
---|---|
date | Fri, 14 Mar 2014 17:28:58 -0700 |
parents | 55fb97c4c58d |
children | 78bbf4d43a14 |
comparison
equal
deleted
inserted
replaced
17737:0d2ce7411240 | 17739:98af1e198e73 |
---|---|
490 tty->print_raw_cr("An irrecoverable stack overflow has occurred."); | 490 tty->print_raw_cr("An irrecoverable stack overflow has occurred."); |
491 } | 491 } |
492 } | 492 } |
493 } | 493 } |
494 | 494 |
495 if ((sig == SIGSEGV || sig == SIGBUS) && VM_Version::is_cpuinfo_segv_addr(pc)) { | |
496 // Verify that OS save/restore AVX registers. | |
497 stub = VM_Version::cpuinfo_cont_addr(); | |
498 } | |
499 | |
495 // We test if stub is already set (by the stack overflow code | 500 // We test if stub is already set (by the stack overflow code |
496 // above) so it is not overwritten by the code that follows. This | 501 // above) so it is not overwritten by the code that follows. This |
497 // check is not required on other platforms, because on other | 502 // check is not required on other platforms, because on other |
498 // platforms we check for SIGSEGV only or SIGBUS only, where here | 503 // platforms we check for SIGSEGV only or SIGBUS only, where here |
499 // we have to check for both SIGSEGV and SIGBUS. | 504 // we have to check for both SIGSEGV and SIGBUS. |