Skip to content
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

Keep jcmd in JRE images to enable on demand flight recorder #70

Open
mattnelson opened this issue May 14, 2018 · 2 comments
Open

Keep jcmd in JRE images to enable on demand flight recorder #70

mattnelson opened this issue May 14, 2018 · 2 comments

Comments

@mattnelson
Copy link

The JRE images are purging[1] everything but the jre/bin directory. In order to enable flight recorder[2] on demand[3], jcmd should also be persisted.

[1] https://github.com/anapsix/docker-alpine-java/blob/8u172b11/8/172b11/server-jre/standard/Dockerfile#L40
[2] #6
[3] https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/tooldescr006.html

@anapsix
Copy link
Owner

anapsix commented May 18, 2018

jdk images do not have it removed
could that not be used to debug things?

@mattnelson
Copy link
Author

We have switched back to the JDK image for now, but we would like to use the JRE image because of the size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants