--- a/src/hotspot/cpu/x86/x86.ad Tue Sep 10 07:42:04 2019 +0200
+++ b/src/hotspot/cpu/x86/x86.ad Tue Sep 10 08:43:33 2019 +0200
@@ -2097,7 +2097,7 @@
match(Halt);
format %{ "ud2\t# ShouldNotReachHere" %}
ins_encode %{
- __ ud2();
+ __ stop(_halt_reason);
%}
ins_pipe(pipe_slow);
%}