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

Match jdk8 runFinalizersOnExit() and phantom reference behavior #15784

Merged
merged 5 commits into from Aug 30, 2022

Conversation

pshipton
Copy link
Member

@pshipton pshipton commented Aug 26, 2022

@pshipton pshipton force-pushed the runfinalizers branch 2 times, most recently from 2a9d924 to 99d4fde Compare August 26, 2022 20:37
@pshipton pshipton changed the title runFinalizationOnExit() in jdk8 throws UnsupportedOperationException runFinalizersOnExit() in jdk8 throws UnsupportedOperationException Aug 26, 2022
@pshipton pshipton added the jdk8 label Aug 26, 2022
@pshipton
Copy link
Member Author

jenkins test sanity,sanity.openjdk alinux64,zlinux,aix,win,win32 jdk8 depends ibmruntimes/openj9-openjdk-jdk8#openj9-staging

@pshipton pshipton force-pushed the runfinalizers branch 2 times, most recently from 4ff7465 to cb238cf Compare August 26, 2022 21:13
@pshipton
Copy link
Member Author

jenkins test sanity,sanity.openjdk alinux64,zlinux,aix,win,win32 jdk8 depends ibmruntimes/openj9-openjdk-jdk8#openj9-staging

@pshipton pshipton changed the title runFinalizersOnExit() in jdk8 throws UnsupportedOperationException Match jdk8 runFinalizersOnExit() and phantom reference behavior Aug 29, 2022
@pshipton
Copy link
Member Author

jenkins test sanity,sanity.openjdk alinux64,zlinux,aix,win,win32 jdk8 depends ibmruntimes/openj9-openjdk-jdk8#openj9-staging

@pshipton
Copy link
Member Author

pshipton commented Aug 29, 2022

The zlinux sanity.functional tests passed, but because I aborted a restart it appears aborted in the summary. The passing job is
https://openj9-jenkins.osuosl.org/job/Pipeline_Build_Test_JDK8_s390x_linux/1187/

Copy link
Contributor

@dmitripivkine dmitripivkine left a comment

Choose a reason for hiding this comment

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

GC part of the change looks good to me

@pshipton
Copy link
Member Author

Added a link to the spec change to the description.

@pshipton
Copy link
Member Author

FYI There is now a jdk8u352-b04 level which hasn't yet been tested.

runFinalizersOnExit() now throws UnsupportedOperationException.
OpenJDK issue 8287132.

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
The runFinalizersOnExit() API now throws UnsupportedOperationException.
OpenJDK issue 8287132.

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
Match the behavior of Java 11+

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
@pshipton
Copy link
Member Author

Addressed review comments. Rebasing, and I'll run a new jdk8 acceptance build with this change on jdk8u352-b04.

@pshipton
Copy link
Member Author

pshipton commented Aug 30, 2022

jkd8 acceptance build with this change https://openj9-jenkins.osuosl.org/job/Pipeline-OpenJDK8-Acceptance/45/

@pshipton
Copy link
Member Author

jenkins test sanity amac jdk11

@pshipton
Copy link
Member Author

There are a couple of failures in the acceptance build but they appear to be known problems and unrelated to this change.
#14943
#15797

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants