-
Notifications
You must be signed in to change notification settings - Fork 728
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
Investigate JVM signal handling functions #54
Comments
The implementations of all 3 Signal JVM functions:
Are questionable. All three need to be validated and completed. My vague understanding is that J9 relies on patches to the JCL code to work around the need for these 3 functions. |
I'll re-title this as "Investigate JVM signal handling", as this came from me looking at #40 |
I marked as "enhancement" but if "bug" becomes more appropriate we should update it :) |
@pshipton no. more changes will be required to complete this. currently, the following scenario is not covered.
Current behavior:
Expected behavior:
|
Current approach is eclipse-omr/omr#2332 |
The initial changes are delivered to enable signal handling on Windows, Linux, and AIX. There will be more internal changes but the shutdown hook functionality should be working as of now. Linux/AIX eclipse-omr/omr#2494 #1603 #1642 |
Adding @ibm-rtvs |
The nightly builds from May 4th https://adoptopenjdk.net/nightly.html?variant=openjdk8-openj9 should have the shutdown hook updates. |
@pshipton is there more testing to do here or can we remove this issue from the release notes in 0.9.0 please? |
There are more changes to be delivered before signal handling is fully functional, such as #1832 |
#1832 is merged. |
fyi #1984, it seems signals are not working as well as hoped. edit: this is merged. |
…0-revert-49-revert-48-ibm_sdk Enable atomic-free JNI on select platforms
Another fix here eclipse-omr/omr#2611 |
Oh noo, the fix won't be in 0.9.0? |
The eclipse-omr/omr#2611 fix (and everything previous) is delivered and included in 0.9.0. I temporarily used this Issue in the 0.9.0 milestone because I couldn't add the omr issue directly, and was too lazy to create another issue in OpenJ9 to track it. Now that its been merged, any remaining work on signals is deferred until the next release. See the details in the release notes #1996 |
@pshipton The OMR change eclipse-omr/omr#2908 is merged. Presumably there is something else that needs merging to prevents us declaring that signal handling is fixed in 0.10.0? Think it was just Windows that was remaining? Thanks |
@SueChaplain There is some work remaining to support other signals. As macOS is taking priority, I've moved this item to the 0.12.0 milestone. |
@SueChaplain I believe we can remove the Windows limitation from the 0.10.0 release notes. @babsingh please confirm. See the 0.10.0 release notes #2766 "Full support for shutdown signals is pending on Windows; signal handlers cannot be registered by using sun.misc.Signal or dk.internal.misc.Signal." |
@SueChaplain @pshipton Peter is correct. Windows has fewer signals. Current implementation supports all signals on Windows. Updated doc:
|
@babsingh Thanks. I've updated the release notes for 0.10.0 accordingly. |
Typo above: "using sun.misc.Signal or dk.internal.misc.Signal." should be jdk? |
@pdbain-ibm that line was removed so the typo is gone. |
@pshipton - I think I've lost track of what's remaining here. Can you confirm and let me know the release target please. |
@SueChaplain there is no real target to complete this work. I'll put it into the 0.15 milestone so we don't loose track of it, but don't be surprised if it moves out further. The release notes should stay as-is. |
This issue can be closed after eclipse-omr/omr#3921 and #5923 are merged. Performing final cross-platform testing. fyi - @DanHeidinga @pshipton |
@babsingh please create the doc issue to update the release notes, and then we can close this. |
Incorrect links: ibmruntimes/openj9-openjdk-jdk8#54 https://github.com/ibmruntimes/openj9-openjdk-jdk8/issues/2507 Correct links: eclipse-openj9#54 eclipse-openj9#2507 [skip ci] Signed-off-by: Babneet Singh <[email protected]>
There is a docs issue eclipse-openj9/openj9-docs#296, this can be closed. |
The implementations of all 3 Signal JVM functions:
JVM_RegisterSignal
JVM_FindSignal
JVM_RaiseSignal
Are questionable. All three need to be validated and completed.
The text was updated successfully, but these errors were encountered: