-
Notifications
You must be signed in to change notification settings - Fork 721
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
WIP: Replace MemberName class with OpenJDK implementation #7680
Conversation
Note: First 9 commits are picked from #7625 and should be removed from this PR once the it is delivered. Also, the native method headers added in MethodHandleNatives are for compilation requirements (VM compiles & passes simple testcases), there may still be patchings required to enable the actual functionality in VM native code. |
54466e9
to
c99368a
Compare
Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
- MT.returnType -> MT.returnType() - MT.arguments -> MT.ptypes() - MT.argSlots -> MT.parameterSlotCount() - MT.dropFirstParameterType -> MT.dropParameterTypes(0,1) - MT.getInvokeExactHandle() -> MT.invokers().exactInvoker() Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
Name changes: - MT.arguments -> MT.ptypes - MT.returnType -> MT.rtype - MT.vmResolveFromMethodDescriptorString -> MTHelper.vmResolveFromMethodDescriptorString New refs: - MethodTypeHelper.class - MethodTypeForm.class - MethodType.form - MethodTypeForm.argCounts Removed: - MethodType.stackDescriptionBits - MethodType.argSlots Replaced with parameterSlotCount() API Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
- Update field name to OpenJDK name - Remove METHODTYPE_STACKDESCRIPTIONBITS - Add VMHelpers::getArgSlotFromMethodType API to replaces J9VMJAVALANGINVOKEMETHODTYPE_ARGSLOTS marco Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
- generate stackbits using MT.ptypes Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
- init a new MemberName object with null class ref Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
- Fix MethodHandleNatives native method header for Java8 Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
ec55934
to
a0090c6
Compare
@fengxue-IS @babsingh is this still relevant? |
Closing this PR as it is no longer relevent. |
Part of: #7352
Signed-off-by: Jack Lu Jack.S.Lu@ibm.com