sun.misc.PostVMInitHook::run is called by the VM once its initialization is complete, when jdk_version_info.post_vm_init_hook_enabled bit is true. Since sun.misc will be moved out of the base module, and put into the jdk.unsupported module, the VM should look for the PostVMInitHook in a more suitable place, say jdk.internal.vm.
|