graal
graal copied to clipboard
[GR-44559] Finish `ThreadMXBean` implementation for Native Image.
SubstrateThreadMXBean
implements com.sun.management.ThreadMXBean
for Native Image and is not fully implemented yet, for example:
https://github.com/oracle/graal/blob/7268f717047f68473e5bff76be666bc609fddcf0/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jdk/management/SubstrateThreadMXBean.java#L149-L172
To improve JMX support (#4732), some of these methods throwing VMError.unsupportedFeature()
will be switched to return reasonable, but empty default values (e.g., new ThreadInfo[0]
). While this allows some JMX tools to work, some key functionality of ThreadMXBean
is still missing and needs to be implemented.
Will this be in v23 ?
Will this be in v23 ?
@oeresundsgruppen unfortunately no and we still haven't found anyone who has the time to work on this.
@fniephaus I would like to help! Can I pick it up?
I would like to help! Can I pick it up?
Sure, feel free to take a look and let me know if you need any help. :)
Hi @fniephaus! I have created this PR, please take a look when you have time 🙂
Hi @selhagani, I am no longer working on this, please see the comments in the PR.