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

Support JEP491 (Part 1) #20566

Merged
merged 4 commits into from
Nov 14, 2024
Merged

Support JEP491 (Part 1) #20566

merged 4 commits into from
Nov 14, 2024

Conversation

fengxue-IS
Copy link
Contributor

Changes to support compile/partial functionality

  • Adds new API stub introduced in JDK24
  • Ifdef out obsolete code removed in JDK24
  • Support new VThread state in JVMTI

Part of #20562

Signed-off-by: Jack Lu [email protected]

Removed:
Blocker class
PinnedThreadPrinter class
NativeReferenceQueue class

Signed-off-by: Jack Lu <[email protected]>
@fengxue-IS
Copy link
Contributor Author

FYI @JasonFengJ9

@fengxue-IS fengxue-IS marked this pull request as ready for review November 12, 2024 23:05
@fengxue-IS fengxue-IS changed the title [WIP] Support JEP491 (Part 1) Support JEP491 (Part 1) Nov 12, 2024
@fengxue-IS
Copy link
Contributor Author

@tajila can you please take a look at this

@@ -294,6 +294,21 @@ public final void wait(long time, int frac) throws InterruptedException {
Blocker.end(blocking);
}
}
/*[ELSE] JAVA_SPEC_VERSION < 24 */
if ((time < 0) || (frac < 0)) {
throw new IllegalArgumentException("timeout value is negative");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we may already throw these exceptions internally

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we do, I added this to match RI's bytecode as it would be a faster path to avoid having to call into native.

@tajila
Copy link
Contributor

tajila commented Nov 14, 2024

jenkins test sanity alinux64 jdk23

@tajila
Copy link
Contributor

tajila commented Nov 14, 2024



    Author did not have a signed ECA on file.
        Email: Jack.S.Lu@i*m DOT com
        GitHub ID: fengxue-IS
    Committer did not have a signed ECA on file.
        Email: Jack.S.Lu@i*m DOT com
        GitHub ID: fengxue-IS
    Author did not have a signed ECA on file.
        Email: Jack.S.Lu@i*m DOT com
        GitHub ID: fengxue-IS
    Committer did not have a signed ECA on file.
        Email: Jack.S.Lu@i*m DOT com
        GitHub ID: fengxue-IS

@fengxue-IS

@pshipton
Copy link
Member

The ECA checks out manually. We can either ignore the failures, or need to push changes to cause the check to run again.

@pshipton
Copy link
Member

I guess adding the label caused the check to rerun, it's passed now.

@tajila tajila merged commit 2383bbd into eclipse-openj9:master Nov 14, 2024
6 checks passed
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