Skip to content

Add j.l.Access.parkVirtualThread methods - #15215

Merged
tajila merged 1 commit into
eclipse-openj9:masterfrom
JasonFengJ9:loomstub
Jun 7, 2022
Merged

Add j.l.Access.parkVirtualThread methods#15215
tajila merged 1 commit into
eclipse-openj9:masterfrom
JasonFengJ9:loomstub

Conversation

@JasonFengJ9

@JasonFengJ9 JasonFengJ9 commented Jun 3, 2022

Copy link
Copy Markdown
Member

Add j.l.Access.parkVirtualThread methods

j.l.Access.parkVirtualThread()
j.l.Access.parkVirtualThread(nanos)

closes #15213

Signed-off-by: Jason Feng fengj@ca.ibm.com

Comment thread jcl/src/java.base/share/classes/java/lang/Access.java Outdated
@tajila

tajila commented Jun 3, 2022

Copy link
Copy Markdown
Contributor

Please rebase this

1 similar comment
@tajila

tajila commented Jun 3, 2022

Copy link
Copy Markdown
Contributor

Please rebase this

j.l.Access.parkVirtualThread()
j.l.Access.parkVirtualThread(nanos)

Signed-off-by: Jason Feng <fengj@ca.ibm.com>
@JasonFengJ9 JasonFengJ9 changed the title Add more loom stub methods Add j.l.Access.parkVirtualThread methods Jun 3, 2022
@JasonFengJ9

Copy link
Copy Markdown
Member Author

@tajila this is ready for another look.

@tajila

tajila commented Jun 6, 2022

Copy link
Copy Markdown
Contributor

Jenkins test sanity amac jdknext

@JasonFengJ9

Copy link
Copy Markdown
Member Author

13:10:39 org.openj9.test.java.lang.
Cancelling nested steps due to timeout
23:02:40 Sending interrupt signal to process
23:02:50
23:02:50 JCL_Test_0_FAILED

Looking into it.

@JasonFengJ9

Copy link
Copy Markdown
Member Author

13:10:39 org.openj9.test.java.lang.
Cancelling nested steps due to timeout
23:02:40 Sending interrupt signal to process
23:02:50
23:02:50 JCL_Test_0_FAILED

The hang occurred at JCL_TEST_Java-Lang which is being excluded via #15237
It passes w/ #15237 applied locally.

This PR didn't cause the test failure, technically the change in question hasn't been excised by any tests yet.

@tajila
tajila merged commit d77d84d into eclipse-openj9:master Jun 7, 2022
@JasonFengJ9
JasonFengJ9 deleted the loomstub branch June 7, 2022 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp:vm jdk19 project:loom Used to track Project Loom related work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JDK19 openj9-staging build breakage due to JDK-8287496: Alternative virtual thread implementation that maps to OS thread

2 participants