8146855: Update hotspot sources to recognize Solaris Studio 12u4 compiler
authordholmes
Tue, 12 Jan 2016 19:48:00 -0500
changeset 35485 9ee1d7aba342
parent 35482 cedc2e709ac8
child 35486 b8d9cabc184d
8146855: Update hotspot sources to recognize Solaris Studio 12u4 compiler Reviewed-by: dcubed, gthornbr
hotspot/make/solaris/makefiles/sparcWorks.make
hotspot/src/share/vm/runtime/vm_version.cpp
--- a/hotspot/make/solaris/makefiles/sparcWorks.make	Tue Jan 12 22:50:57 2016 +0000
+++ b/hotspot/make/solaris/makefiles/sparcWorks.make	Tue Jan 12 19:48:00 2016 -0500
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
@@ -48,9 +48,9 @@
 $(shell $(CC) -V 2>&1 | sed -n 's/^.*[ ,\t]C[ ,\t]\([1-9]\.[0-9][0-9]*\).*/\1/p')
 
 # Pick which compiler is validated
-# Validated compiler for JDK9 is SS12.3 (5.12)
-VALIDATED_COMPILER_REVS   := 5.12
-VALIDATED_CC_COMPILER_REVS := 5.12
+# Validated compiler for JDK9 is SS12.4 (5.13)
+VALIDATED_COMPILER_REVS   := 5.13
+VALIDATED_CC_COMPILER_REVS := 5.13
 
 # Warning messages about not using the above validated versions
 ENFORCE_COMPILER_REV${ENFORCE_COMPILER_REV} := $(strip ${VALIDATED_COMPILER_REVS})
--- a/hotspot/src/share/vm/runtime/vm_version.cpp	Tue Jan 12 22:50:57 2016 +0000
+++ b/hotspot/src/share/vm/runtime/vm_version.cpp	Tue Jan 12 19:48:00 2016 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -211,6 +211,8 @@
         #define HOTSPOT_BUILD_COMPILER "Sun Studio 12u1"
       #elif __SUNPRO_CC == 0x5120
         #define HOTSPOT_BUILD_COMPILER "Sun Studio 12u3"
+      #elif __SUNPRO_CC == 0x5130
+        #define HOTSPOT_BUILD_COMPILER "Sun Studio 12u4"
       #else
         #define HOTSPOT_BUILD_COMPILER "unknown Workshop:" XSTR(__SUNPRO_CC)
       #endif