Skip to content
Permalink
Browse files
8254790: SIGSEGV in string_indexof_char and stringL_indexof_char intr…
…insics

Reviewed-by: yan
Backport-of: 365f19c
  • Loading branch information
Sergey Nazarkin authored and Yuri Nesterenko committed Apr 16, 2021
1 parent 8de0239 commit 8a7c9d778521bf09916cf22c11c009645ede5c45
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/hotspot/cpu/x86/macroAssembler_x86.cpp
@@ -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);

bind(FOUND_SEQ_CHAR);
subptr(result, str1);

1 comment on commit 8a7c9d7

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 8a7c9d7 Apr 16, 2021

Please sign in to comment.