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
8281318: Improve jfr/event/allocation tests reliability #7365
Conversation
|
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.
Looks good, thank you Aleksey.
@shipilev This change now passes all automated pre-integration checks. 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 28 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.
|
Thanks! Anyone else to review? |
@mgronlun, I am going to integrate with just your review, OK? |
That should be fine, thank you. |
/integrate |
Going to push as commit 65831eb.
Your commit was automatically rebased without conflicts. |
Can you take a look at this, https://bugs.openjdk.java.net/browse/JDK-8281638? |
Yes, acked! (Mumbles: always run in both VM modes, always run in both VM modes, always run in both VM modes, ...) |
This fixes the failure on x86_32 by resolving an object/TLAB "sizing" problem. On x86_32, the 100K object gets 200K TLAB, which allocates the next object exactly in the same TLAB. Bumping the object size to 128K resolves this.
Additionally, rewired the tests to match object sizes exactly. In modern JDK, the header size depends on
UseCompressedClassPointers
, not onUseCompressedOops
. UsingWhitebox
, we can poll the VM configuration exactly.Additional testing:
jfr/event/allocation/
jfr/event/allocation/
, out of the boxjfr/event/allocation/
, with-XX:-UseCompressedClassPointers
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/7365/head:pull/7365
$ git checkout pull/7365
Update a local copy of the PR:
$ git checkout pull/7365
$ git pull https://git.openjdk.java.net/jdk pull/7365/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 7365
View PR using the GUI difftool:
$ git pr show -t 7365
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/7365.diff