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

Illegal reflective access by org.github.jamm.MemoryMeter to field java.util.concurrent.atomic.AtomicReference.value #47

Closed
KaliszAd opened this issue Jun 27, 2021 · 1 comment
Milestone

Comments

@KaliszAd
Copy link

KaliszAd commented Jun 27, 2021

I am using clj-memory-meter and get this:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.github.jamm.MemoryMeter (file:/tmp/jamm1846689842101955943.jar) to field java.util.concurrent.atomic.AtomicReference.value
WARNING: Please consider reporting this to the maintainers of org.github.jamm.MemoryMeter
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

It sounds rather bad, so I figured it would be best to report it even though I can only guess what it means.

@blerer
Copy link
Collaborator

blerer commented May 22, 2023

Thanks for reporting it. The Jamm is crawling the object tree to measure it using reflection and might in some case trigger this warning. It sounds worst than it is in practice through.

@blerer blerer closed this as completed May 22, 2023
@blerer blerer added this to the 0.4.0 milestone May 23, 2023
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