Prepared by: | simonis on Mon Dec 2 16:39:05 CET 2013 |
---|---|
Workspace: | /net/usr.work/d046063/OpenJDK/hsx/hotspot-main/hotspot |
Compare against: | http://hg.openjdk.java.net/hsx/hotspot-main/hotspot |
Compare against version: | 5705 |
Summary of changes: | 46 lines changed: 27 ins; 18 del; 1 mod; 4479 unchg |
Changeset: | hotspot.changeset |
Author comments: | Currently, the whole CPU detection for SPARC CPUs seems to be biased towards Sun/Oracle SPARC CPUs. This leads to some problems when running on new Fujitsu Sparc64-X CPUs.
The first problem is that the helper function
The second problem is the consistency check which warns if the
option
$ java -XX:+UseConcMarkSweepGC -XX:+UnlockExperimentalVMOptions -XX:+UseMemSetInBOT -version
Java HotSpot(TM) Server VM warning: Experimental flag -XX:+UseMemSetInBOT is known to cause instability on sun4v; please understand that you are using at your own risk!
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) Server VM (build 24.45-b08, mixed mode)
$ java -XX:+UseAutoGCSelectPolicy -XX:MaxGCPauseMillis=1000 -XX:+UnlockExperimentalVMOptions -XX:+UseMemSetInBOT -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) Server VM (build 24.45-b08, mixed mode)
$java -XX:+UseAutoGCSelectPolicy -XX:MaxGCPauseMillis=1000 -XX:+UnlockExperimentalVMOptions -XX:+UseMemSetInBOT -XX:+PrintFlagsFinal -version 2>&1 | egrep "UseConcMarkSweep|UseMemSetInBOT"
bool UseConcMarkSweepGC := true {product}
bool UseMemSetInBOT := true {experimental}
Even worse, after the change
"8008407:
remove SPARC V8
support" has
removed the call to $ java -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:+UseMemSetInBOT -version openjdk version "1.8.0-internal" OpenJDK Runtime Environment (build 1.8.0-internal-_2013_12_01_22_33-b00) OpenJDK 64-Bit Server VM (build 25.0-b59, mixed mode) So I propose the following two changes:
|
Bug id: | JDK-8029190 : VM_Version::determine_features() asserts on Fujitsu Sparc64 CPUs - Java Bug System |
Legend: |
Modified file Deleted file New file |
Cdiffs
Udiffs
Sdiffs
Frames
Old
New
-----
Raw
src/cpu/sparc/vm/vm_version_sparc.cpp
rev 5706 : 8029190: VM_Version::determine_features() asserts on Fujitsu Sparc64 CPUs27 lines changed: 21 ins; 6 del; 0 mod; 345 unchg
Cdiffs
Udiffs
Sdiffs
Frames
Old
New
-----
Raw
src/cpu/sparc/vm/vm_version_sparc.hpp
rev 5706 : 8029190: VM_Version::determine_features() asserts on Fujitsu Sparc64 CPUs7 lines changed: 6 ins; 0 del; 1 mod; 190 unchg
Cdiffs
Udiffs
Sdiffs
Frames
Old
New
-----
Raw
src/share/vm/runtime/arguments.cpp
rev 5706 : 8029190: VM_Version::determine_features() asserts on Fujitsu Sparc64 CPUs12 lines changed: 0 ins; 12 del; 0 mod; 3944 unchg
This code review page was prepared using /net/usr.work/d046063/OpenJDK/jdk8/make/scripts/webrev.ksh (vers 24.1-hg+openjdk.java.net).