In java.management, the sun.management.HotspotInternalMBean is an undocumented, unsupported and experimental interface.
HotspotInternalMBean can be manually instantiated by a Java app, then the MBeans retrieved by name. Or, ManagementFactoryHelper has methods to return them, e.g. getHotspotRuntimeMBean().
The separate class java.lang.management.ManagementFactory is the documented factory class for getting managed beans for the Java platform.
Creating a HotspotInternalMBean causes creation of other sun.management MBeans, which are then registered with the MBean server:
HotspotClassLoading implements HotspotClassLoadingMBean
HotspotMemory implements HotspotMemoryMBean
HotspotRuntime implements HotspotRuntimeMBean
HotspotThread implements HotspotThreadMBean
HotspotCompilation implements HotspotCompilationMBean
These largely provide an interface to VMManagement jvm, and mostly return performance counters, as could be accessed with jcmd PerfCounter.print.
We should check if anything of use here is not adequately available by other MBeans, or jstat, or any other mechanism. These unpublicised MBeans should be removed if they provide no real value.