<div dir="ltr"><div><span class="gmail-im">On Fri, 2024-05-31 at 14:44 +0200, Maksim Zuev wrote:<br>
> Dear Sir/Madam,<br>
> <br>
> I encountered a problem while debugging the code. I am attaching the<br>
> reproducer to this email in the Main.java file. <br>
> <br>
> When running it with the debugger without stepping, the application<br>
> runs in less than a second (see jdb output in the jdb_run.txt file).<br>
> However, after performing a single step, the application is running<br>
> in interpretation mode, becoming very slow (see jdb output in the<br>
> jdb_step.txt file).<br>
> <br>
> I assume running in the interpreter mode, as I<br>
> see InterpreterRuntime::post_method_exit<br>
> calls in the profiler.<br>
> <br>
> Could you please help me figure out what causes the application to<br>
> run in the interpreter mode? Is this a bug or an expected behavior?<br>
> Are there any ways to work around this issue?</span></div><div><br></div><div>There is also a RHEL ticket, maybe more people can comment in the RHEL tracker, than on the JDK ticket:</div><div><br></div><div><a href="https://issues.redhat.com/browse/RHEL-3498">https://issues.redhat.com/browse/RHEL-3498</a></div><div><br></div><div>There is more related discussion too.<br></div><div><br></div><div>Best regards,</div><div>Simeon<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 31 May 2024 at 18:49, Severin Gehwolf <<a href="mailto:sgehwolf@redhat.com">sgehwolf@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, 2024-05-31 at 14:44 +0200, Maksim Zuev wrote:<br>
> Dear Sir/Madam,<br>
> <br>
> I encountered a problem while debugging the code. I am attaching the<br>
> reproducer to this email in the Main.java file. <br>
> <br>
> When running it with the debugger without stepping, the application<br>
> runs in less than a second (see jdb output in the jdb_run.txt file).<br>
> However, after performing a single step, the application is running<br>
> in interpretation mode, becoming very slow (see jdb output in the<br>
> jdb_step.txt file).<br>
> <br>
> I assume running in the interpreter mode, as I<br>
> see InterpreterRuntime::post_method_exit<br>
> calls in the profiler.<br>
> <br>
> Could you please help me figure out what causes the application to<br>
> run in the interpreter mode? Is this a bug or an expected behavior?<br>
> Are there any ways to work around this issue?<br>
<br>
I think this is:<br>
<a href="https://bugs.openjdk.org/browse/JDK-8229012" rel="noreferrer" target="_blank">https://bugs.openjdk.org/browse/JDK-8229012</a><br>
<br>
Thanks,<br>
Severin<br>
<br>
</blockquote></div>