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
8257162: Initialize ThreadLocalAllocBuffer members #1458
Conversation
|
/label add hotspot-gc |
@tschatzl |
Webrevs
|
_allocated_size(0), | ||
_allocation_fraction(TLABAllocationWeight) { | ||
|
||
// do nothing. tlabs must be inited by initialize() calls |
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.
Wording: Do nothing. TLABs must be initialized by initialize() calls.
@tschatzl 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 13 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.
|
I believe these extra stores will not introduce much overhead.
Looks good, just this comment on the comment that you can skip if you don't agree.
_allocation_fraction(TLABAllocationWeight) { | ||
|
||
// do nothing. TLABs must be inited by initialize() calls | ||
} |
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.
Any reason for the extra blank line here? I would also use a capital D in "Do nothing".
Thanks @pliden @kstefanj @albertnetymk @shipilev for your reviews /integrate |
@tschatzl Since your change was applied there have been 35 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit 962f7a3. |
Hi all,
can I have reviews for this change that adds initialization for all ThreadLocalAllocBuffer members so that when inspecting threads' TLABs the values are not random too?
Testing: tier1,tier2
Thanks,
Thomas
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/1458/head:pull/1458
$ git checkout pull/1458