-
Bug
-
Resolution: Fixed
-
P4
-
7u151, 8u144, 9, 10
-
b21
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8186240 | 9 | Poonam Bajaj Parhar | P4 | Closed | Won't Fix | |
JDK-8197277 | 8u192 | Poonam Bajaj Parhar | P4 | Resolved | Fixed | b01 |
JDK-8188612 | 8u172 | Poonam Bajaj Parhar | P4 | Resolved | Fixed | b03 |
JDK-8188688 | 8u171 | Poonam Bajaj Parhar | P4 | Resolved | Fixed | b01 |
JDK-8186254 | 8u162 | Poonam Bajaj Parhar | P4 | Resolved | Fixed | b01 |
JDK-8188209 | 8u161 | Poonam Bajaj Parhar | P4 | Resolved | Fixed | b01 |
JDK-8190306 | 8u152 | Poonam Bajaj Parhar | P4 | Resolved | Fixed | b31 |
JDK-8186913 | 8u144 | Poonam Bajaj Parhar | P4 | Closed | Fixed | b33 |
JDK-8198051 | emb-8u171 | Poonam Bajaj Parhar | P4 | Resolved | Fixed | b01 |
JDK-8192247 | emb-8u161 | Poonam Bajaj Parhar | P4 | Resolved | Fixed | b01 |
JDK-8186538 | 7u171 | Poonam Bajaj Parhar | P4 | Resolved | Fixed | b01 |
I looked on hs_err files for 8-60 and 8-111 (I don't have permission to look
on 8-131). They have next line about CPU:
CPU:total 1 v9, popc, vis1, vis2, vis3, blk_init, cbcond, aes, sha1, sha256,
sha512, sun4v, niagara_plus
A strange thing is it lists only 1 thread: "total 1 v9". Looks like it was
running in some kind of VM.
is_MP() will return false in such case!!!
To finalize set of BIS instructions we have to issue membar at the end:
http://hg.openjdk.java.net/jdk8u/jdk8u-dev/hotspot/file/d3cc20285653/src/cpu/sparc/vm/stubGenerator_sparc.cpp#l1106
But membar instruction is not generated if MP is false:
http://hg.openjdk.java.net/jdk8u/jdk8u-dev/hotspot/file/d3cc20285653/src/cpu/sparc/vm/macroAssembler_sparc.inline.hpp#l651
I think this is the cause of the problem.
To verify that run with -XX:+AssumeMP
http://hg.openjdk.java.net/jdk8u/jdk8u-dev/hotspot/file/d3cc20285653/src/share/vm/runtime/os.hpp#l217
We should set AssumeMP to true on SPARC.
- backported by
-
JDK-8186254 Enable AssumeMP by default on SPARC machines
- Resolved
-
JDK-8186538 Enable AssumeMP by default on SPARC machines
- Resolved
-
JDK-8188209 Enable AssumeMP by default on SPARC machines
- Resolved
-
JDK-8188612 Enable AssumeMP by default on SPARC machines
- Resolved
-
JDK-8188688 Enable AssumeMP by default on SPARC machines
- Resolved
-
JDK-8190306 Enable AssumeMP by default on SPARC machines
- Resolved
-
JDK-8192247 Enable AssumeMP by default on SPARC machines
- Resolved
-
JDK-8197277 Enable AssumeMP by default on SPARC machines
- Resolved
-
JDK-8198051 Enable AssumeMP by default on SPARC machines
- Resolved
-
JDK-8186240 Enable AssumeMP by default on SPARC machines
- Closed
-
JDK-8186913 Enable AssumeMP by default on SPARC machines
- Closed
- relates to
-
JDK-8185062 Set AssumeMP to true and deprecate the flag
- Resolved