-
Couldn't load subscription status.
- Fork 6.1k
8370064: Test runtime/NMT/CheckForProperDetailStackTrace.java fails on Windows when using stripped pdb files #27899
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
Conversation
|
👋 Welcome back mbaesken! A progress list of the required criteria for merging this PR into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems reasonable.
|
@MBaesken This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 88 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
Webrevs
|
Thanks for the review ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can't just disable this aspect of the test for Windows because it may fail in your environment. We want to test this aspect as broadly as possible.
I could read in pdb file(s) are look at the binary to find out if it is a stripped or full pdb. |
|
@MBaesken |
| ifeq ($(SHIP_DEBUG_SYMBOLS), public) | ||
| JVM_CFLAGS += -DHAS_STRIPPED_DEBUGINFO | ||
| endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But IIUC building the stripped pdb files doesn't necessarily mean you have deployed them in your image.
Also isn't there a way to define file specific flags so this only gets set for whitebox.cpp?
True, but in the end you have the stripped pdbs in place so it is possible you test with those and the test fails (for a good reason).
Yes I could do this, if you prefer ? |
Please - best to always do the most minimal build change. Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One style nit.
This still needs build team approval.
Thanks
test/hotspot/jtreg/runtime/NMT/CheckForProperDetailStackTrace.java
Outdated
Show resolved
Hide resolved
Christoph is from the build group / team too. |
|
If you build OpenJDK on Windows with stripped debug symbols, you will most likely need it. |
|
This test is only run on debug builds. In the discussion in #24012 it was pointed out that |
|
Thanks for the reviews ! /integrate |
|
Going to push as commit 69a9b4c.
Your commit was automatically rebased without conflicts. |
When using stripped and not full pdb files on WIndows, the test CheckForProperDetailStackTrace.java misses source information (but this is not surprise with those much smaller pdb files; so probably we should not rely on having the source info available).
error output is :
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/27899/head:pull/27899$ git checkout pull/27899Update a local copy of the PR:
$ git checkout pull/27899$ git pull https://git.openjdk.org/jdk.git pull/27899/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 27899View PR using the GUI difftool:
$ git pr show -t 27899Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/27899.diff
Using Webrev
Link to Webrev Comment