-
Notifications
You must be signed in to change notification settings - Fork 168
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
6996: Properly support converters #168
Conversation
👋 Welcome back hirt! A progress list of the required criteria for merging this PR into |
Webrevs
|
I'll need to do more validation and have better handling of bad configurations, but will handle that in a bug after this enhancement is in. |
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.
A few comments/suggestions inline. Some surely based on my lack of familiarity with the code base, so bear with me ;)
agent/src/main/java/org/openjdk/jmc/agent/converters/FileConverter.java
Outdated
Show resolved
Hide resolved
agent/src/main/java/org/openjdk/jmc/agent/impl/ResolvedConvertable.java
Outdated
Show resolved
Hide resolved
agent/src/main/java/org/openjdk/jmc/agent/impl/ResolvedConvertable.java
Outdated
Show resolved
Hide resolved
agent/src/test/resources/org/openjdk/jmc/agent/converters/test/jfrprobes_template.xml
Show resolved
Hide resolved
core/tests/org.openjdk.jmc.flightrecorder.rules.jdk.test/baseline/Generated_JfrRuleBaseline.xml
Outdated
Show resolved
Hide resolved
@@ -1,9 +1,9 @@ | |||
eclipse.preferences.version=1 | |||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled | |||
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate | |||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 | |||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 |
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.
Note that this will be changed back by @Josh-Matsuoka once the JDK 8 fixes are in. :)
core/tests/org.openjdk.jmc.flightrecorder.rules.jdk.test/baseline/JfrRuleBaseline.xml
Outdated
Show resolved
Hide resolved
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.
Some more small comments.
agent/src/main/java/org/openjdk/jmc/agent/impl/ResolvedConvertable.java
Outdated
Show resolved
Hide resolved
agent/src/main/java/org/openjdk/jmc/agent/impl/ResolvedConvertable.java
Outdated
Show resolved
Hide resolved
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.
Please update README.md
@thegreystone this pull request can not be integrated into git checkout agentdefaultconverters
git fetch https://git.openjdk.java.net/jmc master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push |
@thegreystone 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 no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
/integrate |
@thegreystone Pushed as commit abfabc3. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Including simple test to verify that the resulting instrumented methods are ok.
Progress
Testing
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jmc pull/168/head:pull/168
$ git checkout pull/168