-
Notifications
You must be signed in to change notification settings - Fork 74
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
Update RAS documentation regarding Hidden frames #910
Comments
This applies from 0.31 onwards. |
@fengxue-IS I assume no doc updates have been done for this issue? (I can't see any.) |
Yes, I haven't had time to write the doc update for this issue. |
@fengxue-IS I did some more digging into this item and have some comments/questions:
|
@doveye thanks for looking into this issue
|
I don't have a problem documenting the option. This type of option helps user's diagnose problems themselves without needing input from service. We could mention it's only expected to be used for diagnostics. |
This really isn't a diagnostic option (in fact, it should not be an option at all). If the default is to not show hidden frames. then using the option will result in failed security checks, etc, so it's almost impossible that any modern application could function. |
Running with |
I think @gacholio comments are specific to jdk18+. Using the option for 8, 11, 17 restores the behaviour of previous releases so may help diagnose a problem. |
eclipse-openj9#910 Updated the ShowHiddenFrames content to mention HotSpot for consistency. Added that this option doesn't affect the dump file. Added this option to the table in the Switching to OpenJ9 topic. Signed-off-by: Sreekala Gopakumar <[email protected]>
@fengxue-IS - Following changes have been made:
Please check and let me know, if the changes are ok. |
I've merged the PR but we didn't add any content for the Java 18 issue. If it's an OpenJDK problem then we could put it in the Known Issues table in the release notes at https://github.com/eclipse-openj9/openj9/blob/master/doc/release-notes/0.32/0.32.md. Eg:
|
The impact is not correct. I don't think we need to add this to mention the problems, but I'll defer to Tobi. It's already stated it's a diagnostic/debugging option. |
The actual impact is that the wrong exception may be thrown when using Reflection API. |
In addition, in the 0.32 release note, an item is added in the Known Issues table based on the feedback received in issue eclipse-openj9#910. eclipse-openj9/openj9-docs#910 In the 0.31 release note, the full commit history line at the end of the topic deleted based on the comment received from the reviewer. eclipse-openj9#14939 [skip ci] Signed-off-by: Sreekala Gopakumar [email protected]
It might be a diagnostic option but if users on Java 18 use it and it breaks their app, shouldn't we warn them about that? Otherwise they could be wasting time trying to debug what's actually a known issue. Although throwing the wrong exception doesn't sound like the inability to function that Graham mentioned earlier. |
It looks like the release notes got updated anyway, so I'll close this issue. |
Issue or pull request number:
eclipse-openj9/openj9#14688
Overview:
Code change updated the stacktrace logic on processing Hidden frames, they are only skipped in getStackTrace calls and StackWalker API based on
-XX:[+|-]ShowHiddenFrames
option, RAS triggers will not be affected by the use of-XX:[+|-]ShowHiddenFrames
option and alway show hidden frames to the filterRelease target:
E.g. Eclipse OpenJ9 0.31.0
Applies to the following JDK versions:
all
Applies to the following platforms:
all
The text was updated successfully, but these errors were encountered: