-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
8327793: Deprecate jstatd for removal #19658
Conversation
👋 Welcome back kevinw! A progress list of the required criteria for merging this PR into |
@kevinjwalls 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 |
@kevinjwalls The following labels will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
The sun.jvmstat.monitor.remote package is not exported so I don't think adding Look at JDK-8245068 when rmid was deprecated and see the warning that it printed. I think it's the warning piece (like you have in Jstatd.main) that you'll need here. |
Sure, happy to not add annotations in sun.jvmstat.monitor.remote (RemoteHost.java, RemoteVm.java). |
Right, you can drop it from all the source files except for module-info.java. |
BTW: Are you going to include the update to the man page (jstatd.1) in the PR or is that for another update? |
OK sure - I had thought the src annotations were useful but if not needed I am taking them out. Yes, I was thinking to do a separate man page CR. |
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.
Changes look okay now. Will you update the CSR to align with the PR?
/INTEGRATE |
/integrate |
@kevinjwalls Pushed as commit 9f8de22. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
jstatd is an RMI server application which monitors HotSpot VMs, and provides an interface to the monitoring tool jstat, for use across a remote RMI connection.
RMI is not how modern applications communicate. It is an old transport with long term security concerns, and configuration difficulties with firewalls.
The jstatd tool should be removed. Deprecating and removing jstatd will not affect usage of jstat for monitoring local VMs using the Attach API.
Progress
Issues
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/19658/head:pull/19658
$ git checkout pull/19658
Update a local copy of the PR:
$ git checkout pull/19658
$ git pull https://git.openjdk.org/jdk.git pull/19658/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 19658
View PR using the GUI difftool:
$ git pr show -t 19658
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/19658.diff
Webrev
Link to Webrev Comment