-
Notifications
You must be signed in to change notification settings - Fork 92
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
SapMachine #1593: Implement a lean alternative for jcmd #1594
base: sapmachine
Are you sure you want to change the base?
Conversation
Hello @schmelter-sap, this pull request fulfills all formal requirements. |
Maybe add a simple '-help' output to the leanjcmd to educate the user about the difference to the 'good' old Java based jcmd? |
Could you add a smoketest for leanjcmd? Also, is this already packaged into JDK/JRE images or would that need additional modifications? |
Looks like you want to take a look at the jattach utility which does exactly what you want (and a little more :) |
Yep, we are aware of it. However, we'd probably like to have a tool which is always there in SapMachine. |
Hello @schmelter-sap, this pull request fulfills all formal requirements. |
This is aa simple C-base implementation of jcmd. Apart from only taking a pid, it offers the same features, but uses much less memory (and starts vastly faster).
Here is what a jcmd has to do:
fixes #1593