8341832: Incorrect continuation address of synthetic SIGSEGV for APX in product builds
Reviewed-by: thartmann, sviswanathan, kvn
This commit is contained in:
parent
3ab519f163
commit
3180aaa370
@ -437,6 +437,7 @@ class VM_Version_StubGenerator: public StubCodeGenerator {
|
||||
__ cmpl(rax, 0x80000);
|
||||
__ jcc(Assembler::notEqual, vector_save_restore);
|
||||
|
||||
#ifndef PRODUCT
|
||||
bool save_apx = UseAPX;
|
||||
VM_Version::set_apx_cpuFeatures();
|
||||
UseAPX = true;
|
||||
@ -453,6 +454,7 @@ class VM_Version_StubGenerator: public StubCodeGenerator {
|
||||
__ movq(Address(rsi, 8), r31);
|
||||
|
||||
UseAPX = save_apx;
|
||||
#endif
|
||||
#endif
|
||||
__ bind(vector_save_restore);
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user