Skip to content

Commit

Permalink
8341832: Incorrect continuation address of synthetic SIGSEGV for APX …
Browse files Browse the repository at this point in the history
…in product builds

Reviewed-by: thartmann, sviswanathan, kvn
  • Loading branch information
Jatin Bhateja committed Oct 9, 2024
1 parent 3ab519f commit 3180aaa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hotspot/cpu/x86/vm_version_x86.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -453,6 +454,7 @@ class VM_Version_StubGenerator: public StubCodeGenerator {
__ movq(Address(rsi, 8), r31);

UseAPX = save_apx;
#endif
#endif
__ bind(vector_save_restore);
//
Expand Down

0 comments on commit 3180aaa

Please sign in to comment.