JDK-6999688 : UseCompressedOops and Shared Archive leads java -version to crash
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs20
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • CPU: generic
  • Submitted: 2010-11-12
  • Updated: 2011-02-18
  • Resolved: 2011-02-18
Related Reports
Duplicate :  
Description
This issue happened in 2010-11-11 Nightly only on windows-amd64 and only on RT_Baseline

When we create shared archive and then start java -version with -XX:+UseCompressedOops we get crash:

# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=\serialize.cpp:44
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (C:\temp\jprt\P1\B\123515.km88527\source\src\share\vm\memory\serialize.cpp:44), pid=11524, tid=5696
#  assert(!UseCompressedOops) failed: UseCompressedOops doesn't work with shared archive
#
# JRE version: 7.0
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.0-b02-201011051235.km88527.6981737-fastdebug mixed mode, sharing windows-amd64 compressed oops)
# An error report file with more information is saved as:
# C:\local\39726.JDK7.NIGHTLY.VM+windows-amd64_vm_server_mixed_nsk.jvmti.unit.testlist\results\hs_err_pid11524.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

Comments
EVALUATION Yes, i verified it's a duplicate with a temporary fix for 7019557.
18-02-2011

EVALUATION I believe these failures are occurring in RT_Baseline because RT_Baseline does not yet have the following changeset: Changeset: 9de67bf4244d Author: iveresov Date: 2010-11-02 16:02 -0700 URL: http://hg.openjdk.java.net/jdk7/jdk7/hotspot/rev/9de67bf4244d 6996136: VM crash in src/share/vm/runtime/virtualspace.cpp:424 Summary: Turn CDS off if compressed oops is on Reviewed-by: ysr, kvn, jcoomes, phh I believe that when RT_Baseline is sync'ed up with Main_Baseline, then this bug can be closed as a duplicate of: 6996136 2/3 VM crash in src/share/vm/runtime/virtualspace.cpp:424
12-11-2010