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

JEP 451: Prepare to Disallow the Dynamic Loading of Agents #17500

Closed
pshipton opened this issue May 31, 2023 · 5 comments
Closed

JEP 451: Prepare to Disallow the Dynamic Loading of Agents #17500

pshipton opened this issue May 31, 2023 · 5 comments
Assignees

Comments

@pshipton
Copy link
Member

See Prepare to Disallow the Dynamic Loading of Agents

@pshipton pshipton added this to the Java 21 milestone May 31, 2023
@pshipton
Copy link
Member Author

@JasonFengJ9 @tajila

@JasonFengJ9
Copy link
Member

I can look into it to prevent the AttachAPI from loading an agent into a JVM after startup, also disable HCR/OSR as default JVM capabilities as per a related issue

@JasonFengJ9 JasonFengJ9 self-assigned this May 31, 2023
@tajila
Copy link
Contributor

tajila commented Jul 12, 2023

@JasonFengJ9 Now that Devins PR is in, we will need to add the warning message to JDK21+ for dynamic loading of agents. Also, trace usage with -Djdk.instrument.traceUsage

@JasonFengJ9
Copy link
Member

Will look into it.

@JasonFengJ9
Copy link
Member

The changes required have been implemented, the doc issue has been created, and an automated OpenJDK test has been added & passed.

Closing as completed.

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

No branches or pull requests

3 participants