# 源码: https://github.com/ibmruntimes/semeru8-binaries/releases/download/jdk8u322-b06_openj9-0.30.0/ibm-semeru-open-jre_x64_mac_8u322b06_openj9-0.30.0.tar.gz https://mirrors.tuna.tsinghua.edu.cn/AdoptOpenJDK/8/jdk/x64/windows/OpenJDK8U-jdk_x64_windows_hotspot_8u322b06.zip https://mirrors.tuna.tsinghua.edu.cn/AdoptOpenJDK/8/jdk/x64/mac/OpenJDK8U-jdk_x64_mac_hotspot_8u322b06.tar.gz # 源码差异 com.sun.tools.attach sun.jvmstat sun.tools 这三个包内的代码,不管是oracle jdk、oracle openjdk、ibm openj9完全一致 # 源码变更 com.fr.third.com.sun.tools.attach.spi.AttachProvider.providers 修改 com.fr.third.com.sun.tools.attach.spi.AttachProvider.createVirtualMachine 新增 com.fr.third.com.sun.tools.attach.spi.AttachProvider.attachVirtualMachine(java.lang.String) 各个实现类中的new VM()调整为反射访问 com.fr.third.sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile 修改static块 com.fr.third.sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile.getVMTemporaryDirectoryMethod 新增 com.fr.third.sun.tools.attach.HotSpotAttachProvider.testAttachable 修改为protected com.fr.third.sun.tools.attach.HotSpotAttachProvider.HotSpotVirtualMachineDescriptor 修改为public com.fr.third.sun.tools.attach.HotSpotAttachProvider.HotSpotVirtualMachineDescriptor.HotSpotVirtualMachineDescriptor 修改为public com.fr.third.sun.tools.attach.HotSpotVirtualMachine.HotSpotVirtualMachine 调整为protected com.fr.third.sun.tools.attach.HotSpotVirtualMachine.execute 调整为protected com.fr.third.sun.tools.attach.HotSpotVirtualMachine.readInt 调整为protected com.fr.third.sun.tools.attach.HotSpotVirtualMachine.readErrorMessage 调整为protected com.fr.third.sun.tools.attach.HotSpotVirtualMachine.attachTimeout 调整为protected