Skip to content

Add more testing for invokedynamic modes#7732

Merged
headius merged 9 commits intojruby:masterfrom
headius:more_indy_testing
Mar 24, 2023
Merged

Add more testing for invokedynamic modes#7732
headius merged 9 commits intojruby:masterfrom
headius:more_indy_testing

Conversation

@headius
Copy link
Member

@headius headius commented Mar 21, 2023

This PR will try moving a few CI test suites around, adding invokedynamic to some of them to increase coverage without adding more time.

@headius headius added this to the Non-Release milestone Mar 21, 2023
This should reduce CI by a few jobs. The general idea is that
compatibility-related tests, running in a minimal JRuby mode like
fully-interpreted, should be tested on multiple JVMs. Correctness-
related tests, like for JIT modes and invokedynamic, can usually
be expected to pass the same across JVM versions, and so only need
to be tested on one.
@headius headius force-pushed the more_indy_testing branch from b0b9a5a to f7694b3 Compare March 21, 2023 20:13
@headius headius force-pushed the more_indy_testing branch from cad0510 to 70f6c0e Compare March 21, 2023 20:49
@headius headius force-pushed the more_indy_testing branch from b020718 to 13a729f Compare March 22, 2023 17:32
@headius headius force-pushed the more_indy_testing branch from 13a729f to 853e81c Compare March 22, 2023 17:40
headius added 3 commits March 22, 2023 13:13
There's more work here to do than I want to attack right now, and
we may revisit this again with keyword arguments, so there's not a
lot of value in fixing current issues.
@headius headius force-pushed the more_indy_testing branch 2 times, most recently from bfb070d to d695127 Compare March 23, 2023 20:18
@headius headius merged commit 95c5be4 into jruby:master Mar 24, 2023
@headius headius deleted the more_indy_testing branch March 24, 2023 18:38
headius added a commit to headius/jruby that referenced this pull request May 18, 2023
This code worked ok to bind user-defined method_missing directly
in the InvokeSite, but it breaks the production of a core
method missing error by including the symbol name in that
exceptions's arguments. We will revisit direct method_missing
binding soon, once we refactor how this pipeline delivers
arguments to both the exception and to user-defined method_missing
methods.

Fixes one regression due to invokedynamic, found by enabling more
invokedynamic testing in jruby#7732.
@headius headius mentioned this pull request May 18, 2023
22 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant