8037226: compiler/7196199/Test7196199.java fails on 32-bit linux with MaxVectorSize > 16

Verify YMM registers after signal processing and set limit on vector's size.

Reviewed-by: iveresov, twisti
This commit is contained in:
Vladimir Kozlov 2014-03-14 17:28:58 -07:00
parent a415d90691
commit d3f1dc78ef
6 changed files with 126 additions and 14 deletions

View file

@ -2425,6 +2425,12 @@ LONG WINAPI topLevelExceptionFilter(struct _EXCEPTION_POINTERS* exceptionInfo) {
}
}
if ((exception_code == EXCEPTION_ACCESS_VIOLATION) &&
VM_Version::is_cpuinfo_segv_addr(pc)) {
// Verify that OS save/restore AVX registers.
return Handle_Exception(exceptionInfo, VM_Version::cpuinfo_cont_addr());
}
if (t != NULL && t->is_Java_thread()) {
JavaThread* thread = (JavaThread*) t;
bool in_java = thread->thread_state() == _thread_in_Java;