JDK-8011353 : C1: -XX:+VerifyOopMaps -XX:+DeoptimizeALot crashes fastdebug solaris sparc
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • OS: solaris
  • CPU: sparc
  • Submitted: 2013-04-03
  • Updated: 2019-09-13
  • Resolved: 2014-12-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8u20 b01Resolved
Related Reports
Duplicate :  
Description
spiro dlong/specjvm2008 [151] % /java/re/jdk/8/latest/binaries/solaris-sparcv9/fastdebug/bin/java -version
java version "1.8.0-ea-fastdebug"
Java(TM) SE Runtime Environment (build 1.8.0-ea-fastdebug-b83)
Java HotSpot(TM) Server VM (build 25.0-b24-fastdebug, mixed mode)

spiro dlong/specjvm2008 [152] % /java/re/jdk/8/latest/binaries/solaris-sparcv9/fastdebug/bin/java -client -XX:+VerifyOopMaps -XX:+DeoptimizeALot -jar SPECjvm2008.jar

SPECjvm2008 Base
  Properties file:   none
  Benchmarks:        startup.helloworld startup.compiler.compiler startup.compiler.sunflow startup.compress startup.crypto.aes startup.crypto.rsa startup.crypto.signverify startup.mpegaudio startup.scimark.fft startup.scimark.lu startup.scimark.monte_carlo startup.scimark.sor startup.scimark.sparse startup.serial startup.sunflow startup.xml.transform startup.xml.validation compiler.compiler compiler.sunflow compress crypto.aes crypto.rsa crypto.signverify derby mpegaudio scimark.fft.large scimark.lu.large scimark.sor.large scimark.sparse.large scimark.fft.small scimark.lu.small scimark.sor.small scimark.sparse.small scimark.monte_carlo serial sunflow xml.transform xml.validation

  Kit signature and checksum is validated.
  This can take several minutes.
  Use argument '-ikv' to skip this.
  =============== DEBUG MESSAGE: bad oop I3 at 9748 at offset 9748 (/HUDSON/workspace/2-build-solaris-sparc/jdk8/3822/hotspot/src/share/vm/c1/c1_LIRAssembler.cpp:862) ================

# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/macroAssembler_sparc.cpp:1689
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/HUDSON/workspace/2-build-solaris-sparc/jdk8/3822/hotspot/src/cpu/sparc/vm/macroAssembler_sparc.cpp:1689), pid=15174, tid=2
#  assert(false) failed: DEBUG MESSAGE: bad oop I3 at 9748 at offset 9748 (/HUDSON/workspace/2-build-solaris-sparc/jdk8/3822/hotspot/src/share/vm/c1/c1_LIRAssembler.cpp:862)
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b83) (build 1.8.0-ea-fastdebug-b83)
# Java VM: Java HotSpot(TM) Client VM (25.0-b24-fastdebug mixed mode solaris-sparc )
# Core dump written. Default location: /var/tmp/dlong/specjvm2008/core or core.15174
#
# An error report file with more information is saved as:
# /var/tmp/dlong/specjvm2008/hs_err_pid15174.log
Phoning home...
Using server: 10.161.186.18, port 4711
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#
Current thread is 2
Dumping core ...
Abort (core dumped)

spiro dlong/specjvm2008 [153] % /java/re/jdk/8/latest/binaries/solaris-sparcv9/fastdebug/bin/java -d32 -Xmixed  -XX:+TieredCompilation  -XX:+VerifyOopMaps -XX:+DeoptimizeALot -jar SPECjvm2008.jar
=============== DEBUG MESSAGE: broken oop tmp1 at offset 1584 (/HUDSON/workspace/2-build-solaris-sparc/jdk8/3822/hotspot/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp:2582) ================

# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/macroAssembler_sparc.cpp:1689
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/HUDSON/workspace/2-build-solaris-sparc/jdk8/3822/hotspot/src/cpu/sparc/vm/macroAssembler_sparc.cpp:1689), pid=15347, tid=2
#  assert(false) failed: DEBUG MESSAGE: broken oop tmp1 at offset 1584 (/HUDSON/workspace/2-build-solaris-sparc/jdk8/3822/hotspot/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp:2582)
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b83) (build 1.8.0-ea-fastdebug-b83)
# Java VM: Java HotSpot(TM) Server VM (25.0-b24-fastdebug mixed mode solaris-sparc )
# Core dump written. Default location: /var/tmp/dlong/specjvm2008/core or core.15347
#
# An error report file with more information is saved as:
# /var/tmp/dlong/specjvm2008/hs_err_pid15347.log
Phoning home...
Using server: 10.161.186.18, port 4711
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#
Current thread is 2
Dumping core ...
Abort (core dumped)

Comments
Thanks Vladimir. Closed as duplicate of JDK-8011391.
02-12-2014

Agree to close as duplicate.
02-12-2014

I was able to reproduce this with 8 on Solaris Sparc. Depending on the build different asserts are hit: # Internal Error (/HUDSON/workspace/2-build-solaris-sparc/jdk8/5205/hotspot/src/cpu/sparc/vm/macroAssembler_sparc.cpp:1591), pid=10531, tid=2 # assert(false) failed: DEBUG MESSAGE: bad oop I3 at 10440 at offset 10440 (/HUDSON/workspace/2-build-solaris-sparc/jdk8/5205/hotspot/src/share/vm/c1/c1_LIRAssembler.cpp:862) # Internal Error (/tmp/workspace/8-2-build-solaris-sparcv9/jdk8/623/hotspot/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp:3127), pid=10244, tid=63 # assert(code_offset() - offset == NativeInstruction::nop_instruction_size) failed: only one instruction can go in a delay slot The second assertion looks like JDK-8011391 fixed in 8u25. The fix removed the -XX:VerifyOopMaps option because it caused problems and the functionality is included in -XX:VerifyOops [1]. I'm not able to reproduce the bug with -XX:VerifyOops and would therefore like to close this as a duplicate of JDK-8011391. Any objections? [1] http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2013-December/012874.html
26-11-2014

[~dlong], is this still a problem? If yes, can you assign it to yourself?
06-11-2014

ILW=Assert in verify oops, reproducible, none=MLH=P4
08-05-2014