Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.


8254790: SIGSEGV in string_indexof_char and stringL_indexof_char intr…
Browse files Browse the repository at this point in the history

Reviewed-by: yan
Backport-of: 365f19c
  • Loading branch information
Sergey Nazarkin authored and Yuri Nesterenko committed Apr 16, 2021
1 parent 8de0239 commit 8a7c9d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/cpu/x86/macroAssembler_x86.cpp
Expand Up @@ -6432,7 +6432,7 @@ void MacroAssembler::string_indexof_char(Register str1, Register cnt1, Register
pmovmskb(tmp, vec3);
bsfl(ch, tmp);
addl(result, ch);
addptr(result, ch);

subptr(result, str1);
Expand Down

1 comment on commit 8a7c9d7

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.