United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6831323 Use v8plus as minimum required hardware for current Hotspot sources
6831323 : Use v8plus as minimum required hardware for current Hotspot sources

Details
Type:
Enhancement
Submit Date:
2009-04-17
Status:
Resolved
Updated Date:
2010-04-03
Project Name:
JDK
Resolved Date:
2009-05-08
Component:
hotspot
OS:
solaris_10
Sub-Component:
compiler
CPU:
sparc
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs16
Fixed Versions:
hs16

Related Reports
Backport:
Backport:
Backport:

Sub Tasks

Description
Current Hotspot sources use v8plus instructions so it can't be compiled with -xarch=v8

223:         .volatile
224:         membar  #StoreLoad
225:         .nonvolatile
cg error (as) : "hotspot/src/os_cpu/solaris_sparc/vm/solaris_sparc.il (template for _OrderAccess_fence)", line 224 : cannot use SPARC v9 instructions with this target architecture
gnumake[5]: *** [abstractCompiler.o] Error 1

                                    

Comments
SUGGESTED FIX

Use -xarch=v8plus as default for 32-bits VM on sparc.
                                     
2009-04-17
EVALUATION

Current Hotspot sources use v8plus instructions
so it can't be compiled with -xarch=v8.
                                     
2009-04-17
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/2bf529ef0adb
                                     
2009-04-17
PUBLIC COMMENTS

Fixed 6831323: Use v8plus as minimum required hardware for current Hotspot
  sources

Problem:
Current Hotspot sources use v8plus instructions
so it can't be compiled with -xarch=v8.

Solution:
Use -xarch=v8plus as default for 32-bits VM.
I also fixed the compiler version warning when
building VM for jdk 1.6 with SS11 compilers.
                                     
2009-04-17



Hardware and Software, Engineered to Work Together