-
Notifications
You must be signed in to change notification settings - Fork 722
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
Code cleanup related to exception related helpers #2359
Conversation
1. Remove following three helpers that is not in-use: TR_IncompatibleClassChangeError TR_AbstractMethodError TR_IllegalAccessError 2. Consolidate TR_throwCurrentException on X86, aligning with other platforms. Signed-off-by: Victor Ding <dvictor@ca.ibm.com>
is this reducing the flexibility of the codegen or implementation to be able to throw these exceptions from the JIT'd code? if so why would we want to get rid of that ability? |
The 3 exception throwing helpers are never used and hence have not been tested for awhile. Currently there is no infrastructure to test any of them so that the future usability is not guaranteed. |
Jenkins test sanity xlinux |
Jenkins test sanity win |
Jenkins test sanity win32 |
Windows failures due to #2129 |
this actually affects all platforms so I'm going to relaunch a full sanity |
Jenkins test sanity |
@0dvictor did you check that those helpers are not use on any platform? I just don't want to do all the search if you already done it. I think in the item like that it would be good to indicate what (if anything) other codegens should do. |
Yes, I searched the three helpers from the whole OpenJ9 and OMR code, none of the them is currently in-use. |
TR_IncompatibleClassChangeError
TR_AbstractMethodError
TR_IllegalAccessError
Signed-off-by: Victor Ding dvictor@ca.ibm.com