Details
-
Bug
-
Resolution: Fixed
-
P4
-
8, 11, 13, 14
-
b10
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8245778 | 13.0.4 | Jie Fu | P4 | Resolved | Fixed | b03 |
JDK-8234686 | 11.0.7-oracle | Jie Fu | P4 | Resolved | Fixed | b01 |
JDK-8233069 | 11.0.6 | Jie Fu | P4 | Resolved | Fixed | b01 |
JDK-8234180 | openjdk8u242 | Jie Fu | P4 | Resolved | Fixed | team |
JDK-8235162 | openjdk8u232 | Jie Fu | P4 | Resolved | Fixed | master |
Description
Various GC crashes were observed on our Loongson CPUs which support a weak memory model.
The crashes include (but not limit to) the following:
---------------------------------------------------------
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000ffeb261d04, pid=19632, tid=19649
#
# JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
# Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
# Problematic frame:
# V [libjvm.so+0x569d04] G1ParScanThreadState::trim_queue()+0x35c
#
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0xa) at pc=0x000000ffefb95350, pid=19674, tid=19676
#
# JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
# Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
# Problematic frame:
# V [libjvm.so+0x569350] G1ParScanThreadState::copy_to_survivor_space(G1HeapRegionAttr, oopDesc*, markOopDesc*)+0xb0
#
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0xa) at pc=0x000000fff2fb2034, pid=19694, tid=19698
#
# JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
# Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
# Problematic frame:
# V [libjvm.so+0x352034] ClassLoaderData::oops_do(OopClosure*, int, bool)+0x7c
#
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000ffeadc095c, pid=19898, tid=19902
#
# JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
# Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
# Problematic frame:
# V [libjvm.so+0x3a095c] oopDesc::size()+0x74
#
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000fff5e8d24c, pid=20088, tid=20090
#
# JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
# Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
# Problematic frame:
# V [libjvm.so+0x56924c] G1ParScanThreadState::handle_evacuation_failure_par(oopDesc*, markOopDesc*)+0x15c
#
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000fff0f14a78, pid=19730, tid=19731
#
# JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
# Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
# Problematic frame:
# j com.sun.tools.javac.comp.Attr.attribTree(Lcom/sun/tools/javac/tree/JCTree;Lcom/sun/tools/javac/comp/Env;Lcom/sun/tools/javac/comp/Attr$ResultInfo;)Lcom/sun/tools/javac/code/Type;+48 jdk.compiler@14-internal
#
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000fff0db43e8, pid=19880, tid=19882
#
# JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
# Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
# Problematic frame:
# V [libjvm.so+0xe243e8]
#
---------------------------------------------------------
These crashes can be reproduced with the following test on Loongson CPUs.
---------------------------------------------------------
make test TEST="hotspot/jtreg/gc/g1/humongousObjects/TestHumongousClassLoader.java" CONF=release
---------------------------------------------------------
The crashes include (but not limit to) the following:
---------------------------------------------------------
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000ffeb261d04, pid=19632, tid=19649
#
# JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
# Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
# Problematic frame:
# V [libjvm.so+0x569d04] G1ParScanThreadState::trim_queue()+0x35c
#
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0xa) at pc=0x000000ffefb95350, pid=19674, tid=19676
#
# JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
# Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
# Problematic frame:
# V [libjvm.so+0x569350] G1ParScanThreadState::copy_to_survivor_space(G1HeapRegionAttr, oopDesc*, markOopDesc*)+0xb0
#
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0xa) at pc=0x000000fff2fb2034, pid=19694, tid=19698
#
# JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
# Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
# Problematic frame:
# V [libjvm.so+0x352034] ClassLoaderData::oops_do(OopClosure*, int, bool)+0x7c
#
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000ffeadc095c, pid=19898, tid=19902
#
# JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
# Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
# Problematic frame:
# V [libjvm.so+0x3a095c] oopDesc::size()+0x74
#
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000fff5e8d24c, pid=20088, tid=20090
#
# JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
# Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
# Problematic frame:
# V [libjvm.so+0x56924c] G1ParScanThreadState::handle_evacuation_failure_par(oopDesc*, markOopDesc*)+0x15c
#
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000fff0f14a78, pid=19730, tid=19731
#
# JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
# Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
# Problematic frame:
# j com.sun.tools.javac.comp.Attr.attribTree(Lcom/sun/tools/javac/tree/JCTree;Lcom/sun/tools/javac/comp/Env;Lcom/sun/tools/javac/comp/Attr$ResultInfo;)Lcom/sun/tools/javac/code/Type;+48 jdk.compiler@14-internal
#
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000fff0db43e8, pid=19880, tid=19882
#
# JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-mips)
# Java VM: OpenJDK 64-Bit Server VM (14-internal+0-adhoc.fool.jdk-mips, mixed mode, sharing, compressed oops, g1 gc, linux-mips64el)
# Problematic frame:
# V [libjvm.so+0xe243e8]
#
---------------------------------------------------------
These crashes can be reproduced with the following test on Loongson CPUs.
---------------------------------------------------------
make test TEST="hotspot/jtreg/gc/g1/humongousObjects/TestHumongousClassLoader.java" CONF=release
---------------------------------------------------------
Attachments
Issue Links
- backported by
-
JDK-8233069 False failure of GenericTaskQueue::pop_local on architectures with weak memory model
- Resolved
-
JDK-8234180 False failure of GenericTaskQueue::pop_local on architectures with weak memory model
- Resolved
-
JDK-8234686 False failure of GenericTaskQueue::pop_local on architectures with weak memory model
- Resolved
-
JDK-8235162 False failure of GenericTaskQueue::pop_local on architectures with weak memory model
- Resolved
-
JDK-8245778 False failure of GenericTaskQueue::pop_local on architectures with weak memory model
- Resolved