RFR: 8078521: AARCH64: Add AArch64 SA support (original) (raw)

Dean Long dean.long at oracle.com
Thu Apr 23 20:23:52 UTC 2015


On 4/23/2015 9:22 AM, Andrew Haley wrote:

http://cr.openjdk.java.net/~aph/8078521/

Andrew.

Unfortunately, this will cause conflicts with our closed port. I don't know if we should try to address those issues here or in a followup bug. We would need something like the following (still untested) to allow us to map to a different cpu name:

diff -r d11fb4e8a82e agent/src/share/classes/sun/jvm/hotspot/utilities/AltPlatformInfo.java

a/agent/src/share/classes/sun/jvm/hotspot/utilities/AltPlatformInfo.java Tue Mar 24 10:25:09 2015 +0100 +++ b/agent/src/share/classes/sun/jvm/hotspot/utilities/AltPlatformInfo.java Thu Apr 23 16:17:00 2015 -0400 @@ -27,5 +27,5 @@ public interface AltPlatformInfo { // Additional cpu types can be tested via this interface


a/agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java Tue Mar 24 10:25:09 2015 +0100 +++ b/agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java Thu Apr 23 16:17:00 2015 -0400 @@ -57,6 +57,14 @@ is not recognized as supported, an exception is thrown instead. */ public static String getCPU() throws UnsupportedPlatformException { String cpu = System.getProperty("os.arch");

Class.forName("sun.jvm.hotspot.utilities.PlatformInfoClosed");

Class.forName("sun.jvm.hotspot.utilities.PlatformInfoClosed");

yet supported"); } }



More information about the hotspot-dev mailing list