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

JDK 21 - Dynamic Loading of Agent limit #260

Open
rogeriob2br opened this issue Oct 4, 2024 · 2 comments
Open

JDK 21 - Dynamic Loading of Agent limit #260

rogeriob2br opened this issue Oct 4, 2024 · 2 comments

Comments

@rogeriob2br
Copy link

##141

Just like the version 16 error described in issue 141, I'm experiencing the same problem that apparently should be fixed with "-XX:+EnableDynamicAgentLoading", but it had no effect.

image

Apparently it reached an agent limit.
I searched for the error, and for the warning that Dynamic Loading agents will be disabled, and found an issue in mockito:
#mockito/mockito#3037

From the description, libraries could no longer use agents without -javaagent

Is there any way to fix it?

@aoli-al
Copy link
Collaborator

aoli-al commented Oct 5, 2024

This error issue may not be caused by instrumentation. The warning you saw was benign.

The output says, Valid inputs: 0(0.00%), which should be the issue. You may check the implementation of the generator and verify if it can generate valid inputs.

@rohanpadhye
Copy link
Owner

@rogeriob2br Did @aoli-al's comment help you out? I just tried JQF on both Java 21 and Java 22 and everything works fine for me with the examples in the repo.

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

3 participants