Skip to content

Conversation

@jtulach
Copy link
Contributor

@jtulach jtulach commented Jan 14, 2026

image
  • of course, commenting out this line is not an option
  • my goal in this PR is to speed the initialization while making the rest of the Truffle debugging functional

@jtulach jtulach self-assigned this Jan 14, 2026
@jtulach jtulach added do not merge Don't merge this PR, it is not ready or just demonstration purposes. GraalVM [ci] enable GraalVM tests labels Jan 14, 2026
@mbien
Copy link
Member

mbien commented Jan 14, 2026

wondering if there is a relation to #7663

…buildEngine before adding exit method breakpoint
@jtulach
Copy link
Contributor Author

jtulach commented Jan 16, 2026

  • it seems that the exit method breakpoints prevent OpenJDK from optimizing properly
  • maybe installing such a breakpoint forces running in interpreter mode?
  • avoiding the exit method breakpoint or installing it for as little as possible shall improve the poor 40s delay
  • of course, commenting out this line is not an option
  • my goal in this PR is to speed the initialization while making the rest of the Truffle debugging functional
  • with 6268481 I managed to get the time down to 10s
  • that is still more than 4s without installing the exit method breakpoint on Engine.build()
  • but it is better than previous 40s

wondering if there is a relation to #7663

  • probably yes.
  • If applying 9e24c44 speeds your case up, then yes,
  • it is probably the exit method breakpoint cause

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge Don't merge this PR, it is not ready or just demonstration purposes. GraalVM [ci] enable GraalVM tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants