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
8254364: Remove leading _ from struct/union declarations in jvmti.h #596
Conversation
|
/label remove hotspot |
@iklam |
Hi Ioi,
A little research indicates the problem of using the same name in the typedef and the structs pre-dates even ANSI C, so this change should be fine.
Please wait for approval from serviceability team member before pushing though.
Thanks,
David
@iklam 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 3 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the
|
/integrate |
@iklam Since your change was applied there have been 27 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit c9ca1bb. |
This PR changes declarations in jvmti.h like the following from
to
This way, it becomes possible to make forward declaration in C++ code like this, without assuming the knowledge of the
struct _jvmtiTimerInfo
type:Please see bug report JDK-8254364 for the before/after versions of jvmti.h, which is generated from XML.
Tested with build tiers 1-5 in Mach5.
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/596/head:pull/596
$ git checkout pull/596