-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
Description
SubstrateThreadMXBean implements com.sun.management.ThreadMXBean for Native Image and is not fully implemented yet, for example:
Lines 149 to 172 in 7268f71
| @Override | |
| public long[] getAllThreadIds() { | |
| throw VMError.unsupportedFeature(MSG); | |
| } | |
| @Override | |
| public ThreadInfo getThreadInfo(long id) { | |
| throw VMError.unsupportedFeature(MSG); | |
| } | |
| @Override | |
| public ThreadInfo[] getThreadInfo(long[] ids) { | |
| throw VMError.unsupportedFeature(MSG); | |
| } | |
| @Override | |
| public ThreadInfo getThreadInfo(long id, int maxDepth) { | |
| throw VMError.unsupportedFeature(MSG); | |
| } | |
| @Override | |
| public ThreadInfo[] getThreadInfo(long[] ids, int maxDepth) { | |
| throw VMError.unsupportedFeature(MSG); | |
| } |
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.
roberttoyonaga
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In progress