You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to the work in #56309, the AOT compiler is skipping methods containing try/catch/finally blocks, specifically. try/finally and try/catch blocks are AOTed properly.
This causes those specific methods to be executed by the interpreter, therefore being slow.
Description
Related to the work in #56309, the AOT compiler is skipping methods containing
try/catch/finally
blocks, specifically.try/finally
andtry/catch
blocks are AOTed properly.This causes those specific methods to be executed by the interpreter, therefore being slow.
Reproduction Steps
Build and run the following repro: 20250110-issue-111281-ehissue02.zip
The output looks as follows in the profiler:
Where the last method should be be entering the interpreter to execute.
Expected behavior
No interpreter is used to execute any of the methods defined by the user when a try/catch/finally pattern is used.
Actual behavior
See above.
Regression?
No. Related to #78653.
Known Workarounds
Split the methods so that one contains a try/finally, and the other a try/catch, if possible.
Configuration
9.0.100
Other information
No response
The text was updated successfully, but these errors were encountered: