Skip to content

Conversation

@liqunl
Copy link
Contributor

@liqunl liqunl commented Jun 19, 2019

Source type and target type are store in MethodHandle object, so
generate checkcast according to the compatibility between types.

#4837

Signed-off-by: Liqun Liu liqunl@ca.ibm.com

Source type and target type are store in MethodHandle object, so
generate checkcast according to the compatibility between types.

Signed-off-by: Liqun Liu <liqunl@ca.ibm.com>
@DanHeidinga
Copy link
Member

@liqunl Reading this it appears to be an optimization to skip AsType/ExplicitCastArguments when the types are the same or compatible. Very happy to see this!

@andrewcraik
Copy link
Contributor

Looks pretty good - will wait for unWIP before final review - I agree this is a good one to nail

@liqunl liqunl changed the title WIP: Don't generate checkcast when types are compatible Don't generate checkcast when types are compatible Jun 20, 2019
@liqunl
Copy link
Contributor Author

liqunl commented Jun 20, 2019

@andrewcraik Tested with personal build. Could you review?

@andrewcraik
Copy link
Contributor

Jenkins test sanity xlinux,win,plinux jdk8,jdk11

@liqunl
Copy link
Contributor Author

liqunl commented Jun 24, 2019

@vijaysun-omr The builds failed because jenkins restarted itself, do you mind restarting the build for me?

@DanHeidinga
Copy link
Member

Jenkins test sanity xlinux jdk8,jdk11

@DanHeidinga
Copy link
Member

Restarted the failed linux builds

@liqunl
Copy link
Contributor Author

liqunl commented Jun 26, 2019

@DanHeidinga All the tests have passed, could you merge this PR?

@DanHeidinga
Copy link
Member

Normally I'd wait for @andrewcraik as he reviewed it but I understand he's not available. Merging

@DanHeidinga DanHeidinga merged commit f0107dd into eclipse-openj9:master Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants