Skip to content
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

Research replace MethodHandle class with OpenJDK implementation on JDK Next #7352

Closed
10 of 11 tasks
fengxue-IS opened this issue Oct 4, 2019 · 5 comments
Closed
10 of 11 tasks
Labels
comp:vm project:MH Used to track Method Handles related work

Comments

@fengxue-IS
Copy link
Contributor

fengxue-IS commented Oct 4, 2019

Research the effect of using OpenJDK MethodHandle implementation in OpenJ9, this work requires update to existing code structure inorder to satisify the dependencies.

Prototyping with following changes:

Note:

  1. resolution approaches for MH:

TODO:

  • Clean up of J9VM_OPT_METHODHANDLE flag
@DanHeidinga DanHeidinga added this to the Release 0.22 (Java 15) milestone Jul 8, 2020
@pshipton
Copy link
Member

@DanHeidinga I don't expect this will be finished for the 0.23 release, moving out.

@DanHeidinga
Copy link
Member

Agreed. I think the tentative target is JDK16

@tajila tajila added the project:MH Used to track Method Handles related work label Mar 5, 2021
jdmpapin pushed a commit to jdmpapin/openj9-openjdk-jdk11 that referenced this issue Jun 2, 2021
GENSRC_VARHANDLES converts X-VarHandle*.template files into Java files.

X-VarHandle*.template files are located in the java.lang.invoke package
directory.

These are needed to support OpenJDK MethodHandles.

Related: eclipse-openj9/openj9#7352

Back-porting: ibmruntimes/openj9-openjdk-jdk14#6

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
jdmpapin pushed a commit to jdmpapin/openj9-openjdk-jdk11 that referenced this issue Jul 16, 2021
GENSRC_VARHANDLES converts X-VarHandle*.template files into Java files.

X-VarHandle*.template files are located in the java.lang.invoke package
directory.

These are needed to support OpenJDK MethodHandles.

Related: eclipse-openj9/openj9#7352

Back-porting: ibmruntimes/openj9-openjdk-jdk14#6

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
@pshipton
Copy link
Member

@fengxue-IS @babsingh @tajila since we shipped jdk17 with OpenJDK MH enbabled, it seems this should be closed. Is this still tracking anything we need to track, are we keeping it open until all versions have OpenJDK MH enabled? I'd like to at least move it forward to 0.32 unless there is something here that has to be completed for jdk18. If there is, perhaps a more specific issue is better.

@tajila tajila changed the title Research replace MethodHandle class with OpenJDK implementation Research replace MethodHandle class with OpenJDK implementation on JDK Next Jan 11, 2022
@tajila
Copy link
Contributor

tajila commented Jan 11, 2022

We can make separate issues to track JDK11 and 8

@tajila tajila closed this as completed Jan 11, 2022
babsingh added a commit to babsingh/openj9-openjdk-jdk11 that referenced this issue Feb 10, 2022
GENSRC_VARHANDLES converts X-VarHandle*.template files into Java files.

X-VarHandle*.template files are located in the java.lang.invoke package
directory.

These are needed to support OpenJDK MethodHandles.

Related: eclipse-openj9/openj9#7352

Back-porting: ibmruntimes/openj9-openjdk-jdk14#6

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
babsingh added a commit to babsingh/openj9-openjdk-jdk11 that referenced this issue Apr 14, 2022
GENSRC_VARHANDLES converts X-VarHandle*.template files into Java files.

X-VarHandle*.template files are located in the java.lang.invoke package
directory.

These are needed to support OpenJDK MethodHandles.

Related: eclipse-openj9/openj9#7352

Back-porting: ibmruntimes/openj9-openjdk-jdk14#6

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
babsingh added a commit to babsingh/openj9-openjdk-jdk11 that referenced this issue May 25, 2022
GENSRC_VARHANDLES converts X-VarHandle*.template files into Java files.

X-VarHandle*.template files are located in the java.lang.invoke package
directory.

These are needed to support OpenJDK MethodHandles.

Related: eclipse-openj9/openj9#7352

Back-porting: ibmruntimes/openj9-openjdk-jdk14#6

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
babsingh added a commit to babsingh/openj9-openjdk-jdk11 that referenced this issue May 25, 2022
GENSRC_VARHANDLES converts X-VarHandle*.template files into Java files.

X-VarHandle*.template files are located in the java.lang.invoke package
directory.

These are needed to support OpenJDK MethodHandles.

Related: eclipse-openj9/openj9#7352

Back-porting: ibmruntimes/openj9-openjdk-jdk14#6

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
alon-sh pushed a commit to alon-sh/openj9-openjdk-jdk11 that referenced this issue May 25, 2022
GENSRC_VARHANDLES converts X-VarHandle*.template files into Java files.

X-VarHandle*.template files are located in the java.lang.invoke package
directory.

These are needed to support OpenJDK MethodHandles.

Related: eclipse-openj9/openj9#7352

Back-porting: ibmruntimes/openj9-openjdk-jdk14#6

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
alon-sh pushed a commit to alon-sh/openj9-openjdk-jdk11 that referenced this issue May 25, 2022
GENSRC_VARHANDLES converts X-VarHandle*.template files into Java files.

X-VarHandle*.template files are located in the java.lang.invoke package
directory.

These are needed to support OpenJDK MethodHandles.

Related: eclipse-openj9/openj9#7352

Back-porting: ibmruntimes/openj9-openjdk-jdk14#6

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
alon-sh pushed a commit to alon-sh/openj9-openjdk-jdk11 that referenced this issue May 25, 2022
GENSRC_VARHANDLES converts X-VarHandle*.template files into Java files.

X-VarHandle*.template files are located in the java.lang.invoke package
directory.

These are needed to support OpenJDK MethodHandles.

Related: eclipse-openj9/openj9#7352

Back-porting: ibmruntimes/openj9-openjdk-jdk14#6

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
alon-sh pushed a commit to alon-sh/openj9-openjdk-jdk11 that referenced this issue May 25, 2022
GENSRC_VARHANDLES converts X-VarHandle*.template files into Java files.

X-VarHandle*.template files are located in the java.lang.invoke package
directory.

These are needed to support OpenJDK MethodHandles.

Related: eclipse-openj9/openj9#7352

Back-porting: ibmruntimes/openj9-openjdk-jdk14#6

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
alon-sh pushed a commit to alon-sh/openj9-openjdk-jdk11 that referenced this issue May 30, 2022
GENSRC_VARHANDLES converts X-VarHandle*.template files into Java files.

X-VarHandle*.template files are located in the java.lang.invoke package
directory.

These are needed to support OpenJDK MethodHandles.

Related: eclipse-openj9/openj9#7352

Back-porting: ibmruntimes/openj9-openjdk-jdk14#6

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
alon-sh pushed a commit to alon-sh/openj9-openjdk-jdk11 that referenced this issue Jun 1, 2022
GENSRC_VARHANDLES converts X-VarHandle*.template files into Java files.

X-VarHandle*.template files are located in the java.lang.invoke package
directory.

These are needed to support OpenJDK MethodHandles.

Related: eclipse-openj9/openj9#7352

Back-porting: ibmruntimes/openj9-openjdk-jdk14#6

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
alon-sh pushed a commit to alon-sh/openj9-openjdk-jdk11 that referenced this issue Jun 3, 2022
GENSRC_VARHANDLES converts X-VarHandle*.template files into Java files.

X-VarHandle*.template files are located in the java.lang.invoke package
directory.

These are needed to support OpenJDK MethodHandles.

Related: eclipse-openj9/openj9#7352

Back-porting: ibmruntimes/openj9-openjdk-jdk14#6

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:vm project:MH Used to track Method Handles related work
Projects
None yet
Development

No branches or pull requests

6 participants