JDK-8033443 : Test8000311 fails after latest changes to parallelize string and symbol table unlink
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-02-03
  • Updated: 2014-10-15
  • Resolved: 2014-02-05
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 7 JDK 8 JDK 9
7u60Fixed 8u20Fixed 9 b04Fixed
Related Reports
Relates :  
Relates :  
Description
Test80003111 fails after latest changes to parallelize string and symbol table unlink with the following guarantee failing:

# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/g1CollectedHeap.cpp:5230
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/home/thomas/Downloads/vmshare/jdk9-review/src/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp:5230), pid=10808, tid=140684561352448
#  guarantee(!_process_symbols || _do_in_parallel || SymbolTable::parallel_claimed_index() >= _initial_symbol_table_size) failed: claim value 0 after unlink less than initial symbol table size 20011
#
# JRE version: Java(TM) SE Runtime Environment (9.0-b01) (build 1.9.0-ea-b01)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b62-internal-debug mixed mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/thomas/Downloads/vmshare/jdk9-review/src/test/JTwork/scratch/hs_err_pid10808.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

Problem is that when not parallelizing the symbol/string table scanning, the claim index is not updated and remains zero.

Proposed fix: modify the guarantee to only check in case of parallel operation.
Comments
critical request labels belong on master bugs. Fixing this one up..
10-02-2014