Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GRAAL_HOME/JVMCI_BIN handling in som and fix field access implementation #218

Merged
merged 7 commits into from
Aug 26, 2024

Conversation

smarr
Copy link
Member

@smarr smarr commented Aug 26, 2024

The launcher wasn't properly using the environment variables.
Think the changed version is more what I would expect.

Field access in FieldAccessorNode had a few issues:

  • most importantly, they never went to a megamorphic case, so, would have endless chains
  • there was unnecessary re-specialization when encountering objects with an outdated object layout

This change should be performance neutral, but may not be: https://rebench.dev/TruffleSOM/compare/1bc7250d08356fe9ea7cb8525064231cd39c4e4e..58b446652be9a6281b462f9b8cea1c8c2b5bc5ec

Need to allow failing benchmarks though and ignore the failing job, because perf segfaults…

Signed-off-by: Stefan Marr <[email protected]>
smarr added 6 commits August 26, 2024 16:29
Things to consider:
 - what to do when the expected layout is invalid?
 - what to do when the accesses object is outdated? don’t want a cache entry for that, since it gets removed immedietly
 - how to handle the transition from expected primitive write to something else?

Signed-off-by: Stefan Marr <[email protected]>
We haven’t handle those yet…

Signed-off-by: Stefan Marr <[email protected]>
@smarr smarr force-pushed the yuria4-enable-profiling branch from e7a8c97 to 485e54a Compare August 26, 2024 15:30
@smarr smarr merged commit e155420 into SOM-st:master Aug 26, 2024
2 checks passed
@smarr smarr deleted the yuria4-enable-profiling branch August 26, 2024 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant