Skip to content

Commit 3180aaa

Browse files
author
Jatin Bhateja
committedOct 9, 2024
8341832: Incorrect continuation address of synthetic SIGSEGV for APX in product builds
Reviewed-by: thartmann, sviswanathan, kvn
1 parent 3ab519f commit 3180aaa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/hotspot/cpu/x86/vm_version_x86.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ class VM_Version_StubGenerator: public StubCodeGenerator {
437437
__ cmpl(rax, 0x80000);
438438
__ jcc(Assembler::notEqual, vector_save_restore);
439439

440+
#ifndef PRODUCT
440441
bool save_apx = UseAPX;
441442
VM_Version::set_apx_cpuFeatures();
442443
UseAPX = true;
@@ -453,6 +454,7 @@ class VM_Version_StubGenerator: public StubCodeGenerator {
453454
__ movq(Address(rsi, 8), r31);
454455

455456
UseAPX = save_apx;
457+
#endif
456458
#endif
457459
__ bind(vector_save_restore);
458460
//

0 commit comments

Comments
 (0)
Please sign in to comment.