Skip to content

Adding the documentation for MethodHandles#24234

Draft
saad-ibm wants to merge 1 commit into
eclipse-openj9:masterfrom
saad-ibm:mh-doc
Draft

Adding the documentation for MethodHandles#24234
saad-ibm wants to merge 1 commit into
eclipse-openj9:masterfrom
saad-ibm:mh-doc

Conversation

@saad-ibm

Copy link
Copy Markdown
Contributor

This commit adds the documentation for MethodHandles and VarHandles compilation in the OpenJ9 JIT compiler.

Assisted by: IBM Bob
Co-authored by: Nazim Bhuiyan nazim.uddin.bhuiyan@ibm.com
Signed off by: Saad Younus saad.younus@ibm.com

@nbhuiyan @matthewhall2 @mpirvu @hzongaro @vijaysun-omr @0xdaryl @ymanton

@mpirvu mpirvu requested review from mpirvu, nbhuiyan and ymanton June 25, 2026 16:11
@saad-ibm saad-ibm force-pushed the mh-doc branch 2 times, most recently from 0218dc4 to 8aee2c5 Compare June 25, 2026 17:25
@saad-ibm saad-ibm marked this pull request as draft June 25, 2026 18:15
@saad-ibm saad-ibm force-pushed the mh-doc branch 3 times, most recently from ae4554e to b5b1b96 Compare June 25, 2026 18:54
This commit contributes documentation that gives an overview
of MethodHandles and VarHandles, and how it is implemented
in the OpenJ9 JIT. The documentation covers the
compilation pipeline from IL generation through optimization
passes to code generation, focusing on the OpenJDK MethodHandle
implementation used in Java 17+. It includes detailed explanations
of key components such as MethodHandleTransformer, Known Object
Table integration, call refinement strategies, inliner support,
and VarHandle related optimizations.

Assisted-by: IBM Bob
Co-authored-by: Nazim Bhuiyan <nubhuiyan@ibm.com>
Signed-off-by: Saad Younus <saad.younus@ibm.com>
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.

3 participants